middleware: recovery handles panics in all handlers
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.
Showing
pkg/middleware/recovery_test.go
0 → 100644
Please
register
or
sign in
to comment