diff --git a/apis/base.go b/apis/base.go index 8c328d4d..1a682ee9 100644 --- a/apis/base.go +++ b/apis/base.go @@ -47,6 +47,9 @@ func InitApi(app core.App) (*echo.Echo, error) { // custom error handler e.HTTPErrorHandler = func(c echo.Context, err error) { if c.Response().Committed { + if app.IsDebug() { + log.Println("HTTPErrorHandler response was already committed:", err) + } return }