rcrowley / go-tigertonic

A Go framework for building JSON web services inspired by Dropwizard
Other
997 stars 79 forks source link

What to do in a panic? #79

Closed luck02 closed 9 years ago

luck02 commented 9 years ago

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.

luck02 commented 9 years ago

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