Feature Request
| Q |
A |
| New Feature |
yes |
| RFC |
yes |
| BC Break |
no |
Summary
For instance, I am sending a bad json body to an endpoint
I am getting the below response
{"title":"Internal Server Error","type":"https://datatracker.ietf.org/doc/html/rfc9110#name-500-internal-server-error","status":500,"detail":"An unknown error occurred."}
In logs at the server level, i have
"priority":3,"priorityName":"ERR","message":"Error when parsing JSON request body: Syntax error","extra":{"\u0000*\u0000message":"Error when parsing JSON request body: Syntax error",ETC
can we somehow return a more detailed error in this case to the client ?
Feature Request
Summary
For instance, I am sending a bad json body to an endpoint
I am getting the below response
{"title":"Internal Server Error","type":"https://datatracker.ietf.org/doc/html/rfc9110#name-500-internal-server-error","status":500,"detail":"An unknown error occurred."}In logs at the server level, i have
"priority":3,"priorityName":"ERR","message":"Error when parsing JSON request body: Syntax error","extra":{"\u0000*\u0000message":"Error when parsing JSON request body: Syntax error",ETCcan we somehow return a more detailed error in this case to the client ?