-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Error message not returned to client, get empty JSON instead #1597
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
Comments
Hello! Look at this example: https://play.golang.org/p/d8eStiK3z1R To fix this you can just pass a string to Hope it'll help you ;) |
I guess this is fixed in v4 where the error is unwrapped actually. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
An error with incorrect handling of errors was fixed for v4.2. |
Issue Description
See the following code:
I do not see the error message in the response from the server for the following invalid request.
The error is logged just fine:
Expected behaviour
I expect to see the error message int he response.
Actual behaviour
I do not see the error message in the response.
Steps to reproduce
I'm not doing anything fancy here, just trying to use the default HTTP error handler.
Version/commit
v3.3.10-dev
The text was updated successfully, but these errors were encountered: