rcrowley / go-tigertonic

A Go framework for building JSON web services inspired by Dropwizard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What to do in a panic?

luck02 opened this issue · comments

Just wondering what the canonical response to a panic ought to be.

We rolled a web service in Revel and we were able to create a panic interceptor, however my very simple tiger-tonic web site tanks and exits on panic and I'm not sure if there's a built in way to capture that without tanking the server.

In retrospection Revel was not an ideal use case for our web service and I think Tiger Tonic or similar is a much stronger match.

Thanks much.

closing, I should have put this in the users group. Sorry