feat(loggin): improved http request panic handling

This commit is contained in:
Torkel Ödegaard
2016-06-07 10:05:10 +02:00
parent 9741af2031
commit 3dc7706c45
5 changed files with 203 additions and 20 deletions

View File

@@ -240,6 +240,9 @@ func Register(r *macaron.Macaron) {
// metrics
r.Get("/metrics", wrap(GetInternalMetrics))
// error test
r.Get("/metrics/error", wrap(GenerateError))
}, reqSignedIn)
// admin api