Merge pull request #7509 from LK4D4/fix_http_handler_error_log
Fix log message on http handler error
This commit is contained in:
commit
5ffbc8dc82
1 changed files with 1 additions and 1 deletions
|
@ -1058,7 +1058,7 @@ func makeHttpHandler(eng *engine.Engine, logging bool, localMethod string, local
|
|||
}
|
||||
|
||||
if err := handlerFunc(eng, version, w, r, mux.Vars(r)); err != nil {
|
||||
utils.Errorf("Error making handler: %s", err)
|
||||
utils.Errorf("Handler for %s %s returned error: %s", localMethod, localRoute, err)
|
||||
httpError(w, err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue