mirror of
https://github.com/labstack/echo.git
synced 2024-11-24 08:22:21 +02:00
parent
d077efe91a
commit
9b47516c50
3
echo.go
3
echo.go
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user