1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-07-27 22:51:53 -07:00
parent d077efe91a
commit 9b47516c50

View File

@ -187,8 +187,7 @@ func New() (e *Echo) {
if !c.response.committed {
http.Error(c.response, msg, code)
}
// TODO:
// else just send the message? log?
log.Println(err)
}
e.SetHTTPErrorHandler(e.defaultHTTPErrorHandler)
e.SetBinder(func(r *http.Request, v interface{}) (err error) {