-
João Victor Tozatti Risso authored
- 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>
João Victor Tozatti Risso authored- 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>
app.js 1.59 KiB