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:
Tibor Vass
2014-08-11 12:12:33 -04:00

View File

@ -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)
}
}