mirror of
https://github.com/labstack/echo.git
synced 2025-12-21 23:57:40 +02:00
3
echo.go
3
echo.go
@@ -187,8 +187,7 @@ func New() (e *Echo) {
|
|||||||
if !c.response.committed {
|
if !c.response.committed {
|
||||||
http.Error(c.response, msg, code)
|
http.Error(c.response, msg, code)
|
||||||
}
|
}
|
||||||
// TODO:
|
log.Println(err)
|
||||||
// else just send the message? log?
|
|
||||||
}
|
}
|
||||||
e.SetHTTPErrorHandler(e.defaultHTTPErrorHandler)
|
e.SetHTTPErrorHandler(e.defaultHTTPErrorHandler)
|
||||||
e.SetBinder(func(r *http.Request, v interface{}) (err error) {
|
e.SetBinder(func(r *http.Request, v interface{}) (err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user