-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
If user forgets to return correct response object in HTTP handler, it results in "trying to subscribe nil
" error in this line:
metrics/metrics/http_middleware.lua
Line 75 in a2d783e
status = (not ok and 500) or result.status or 200, |
We should process this more carefully. For example, throw explicit error("incorrect http handler")
.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed