We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2bc680 commit 1678da5Copy full SHA for 1678da5
echo.go
@@ -332,6 +332,9 @@ func (e *Echo) DefaultHTTPErrorHandler(err error, c Context) {
332
msg = Map{"message": msg}
333
}
334
335
+ e.Logger.Error(err)
336
+
337
+ // Send response
338
if !c.Response().Committed {
339
if c.Request().Method == HEAD { // Issue #608
340
err = c.NoContent(code)
@@ -342,8 +345,6 @@ func (e *Echo) DefaultHTTPErrorHandler(err error, c Context) {
342
345
e.Logger.Error(err)
343
346
344
347
-
- e.Logger.Error(err)
348
349
350
// Pre adds middleware to the chain which is run before router.
0 commit comments