mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix log message on http handler error
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
This commit is contained in:
parent
2c90fde982
commit
e9aa6489a6
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