http_server.go
6.33 KB
-
middleware: recovery handles panics in all handlers · 0d85c63f
Also, changes the order of the middleware so that recovery is after the gzip middleware. Otherwise, a 200 OK is returned instead of a 500 error.
Daniel Lee committed