mirror of
https://github.com/labstack/echo.git
synced 2025-01-26 03:20:08 +02:00
Removed error log from http error handler
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
ce4a31c74d
commit
b64e4d12c7
2
echo.go
2
echo.go
@ -337,8 +337,6 @@ func (e *Echo) DefaultHTTPErrorHandler(err error, c Context) {
|
|||||||
msg = Map{"message": msg}
|
msg = Map{"message": msg}
|
||||||
}
|
}
|
||||||
|
|
||||||
e.Logger.Error(err)
|
|
||||||
|
|
||||||
// Send response
|
// Send response
|
||||||
if !c.Response().Committed {
|
if !c.Response().Committed {
|
||||||
if c.Request().Method == HEAD { // Issue #608
|
if c.Request().Method == HEAD { // Issue #608
|
||||||
|
Loading…
x
Reference in New Issue
Block a user