1
0
mirror of https://github.com/labstack/echo.git synced 2025-12-05 23:08:17 +02:00

Error handler now printing error messages

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-05-19 08:30:20 -07:00
parent c6b32d5541
commit 795ab0ad77
5 changed files with 8 additions and 8 deletions

View File

@@ -282,7 +282,7 @@ func (e *Echo) DefaultHTTPErrorHandler(err error, c Context) {
if !c.Response().Committed() {
c.String(code, msg)
}
e.logger.Debug(err)
e.logger.Error(err)
}
// SetHTTPErrorHandler registers a custom Echo.HTTPErrorHandler.