There was a problem fetching the pipeline summary.
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:
João Victor Tozatti Risso <jvtr12@inf.ufpr.br>
Loading
Please register or sign in to comment