Skip to content
Snippets Groups Projects
Commit 427b110a authored by João Victor Tozatti Risso's avatar João Victor Tozatti Risso
Browse files

Fix error handling in the database query module


- Add proper error handling in libs/db/query_exec. Uses a catch function after each then to proper capture database errors and report them to the user.
- Add logging the error stack when a database query error occurs.
- Change error message reported in the response when a database query occurs, because the person making the request does not need to know about an internal error in the database.

Signed-off-by: default avatarJoão Victor Tozatti Risso <jvtr12@inf.ufpr.br>
parent 91bd2d50
No related branches found
No related tags found
Loading
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment