Skip to content
Snippets Groups Projects

Fix error handling in the database query module

Merged João Victor Risso requested to merge fix_database_error_reporting into development

Changes in this merge request

  • 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 user making the request does not need to know about an internal database error.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading