Merge pull request #7509 from LK4D4/fix_http_handler_error_log

Fix log message on http handler error
This commit is contained in:
Tibor Vass 2014-08-11 12:12:33 -04:00
commit 5ffbc8dc82

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