Merge pull request #7509 from LK4D4/fix_http_handler_error_log
Fix log message on http handler error Upstream-commit: 5ffbc8dc825e374e5ccfcdebf1b4df20a97c45db Component: engine
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user