Skip to content
Snippets Groups Projects

fix: raise DRF-compatible exception for configuration errors

Merged Konrad Mohrfeldt requested to merge kmohrf/fix-configuration-error-api-responses into main

ValueError has no built-in handling in DRF causing it to return an HTML error page. This is unfortunate for clients that expect a JSON error object like the dashboard.

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