mirror of
https://github.com/labstack/echo.git
synced 2025-05-31 23:19:42 +02:00
parent
d077efe91a
commit
9b47516c50
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user