-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefaultHTTPErrorHandler does not log #2585
Comments
DefaultHTTPErrorHandler is not meant to log errors. It is meant to send error responses. It logs errors only for cases when writing the response failed. To log errors use:
|
The feeling of documentation can be misleading. The other part of the tutorial documents both the ERR returned by the handler and the ERR that ultimately sends the response. But it's actually as you said, |
I will take a look at Echo docs and see if I can improve things. Notes for other readers in future:
|
Issue Description
DefaultHTTPErrorHandler does not record the err returned by handler
Checklist
Expected behaviour
Actual behaviour
No errors logged
Steps to reproduce
Returns an error in the handler
Working code to debug
Version/commit
v4.11.4
The text was updated successfully, but these errors were encountered: