Replies: 1 comment
-
There is default handling and only the error message is reported to the client. If you do not want that, you can self handle exceptions as you are doing in the shared screenshot |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
How to prevent SQL errors in response to client?
I'm getting SQL errors in the request response... There's no default handling for production mode?
If I remember correctly, in adonis 4 there was some handling for production mode
For now I'm using this:
Every 500's errors sends the same message to client... I'm going to report other errors with a monitoring tool
But I'm still wondering if there is another solution
Beta Was this translation helpful? Give feedback.
All reactions