grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.62k stars 299 forks source link

fix: Raise exceptions instead of returning 400 and 500 requests #5225

Closed iskhakov closed 4 weeks ago

iskhakov commented 3 months ago

What this PR does

Best practixe for drf is to raise ApiExceptions instead of returning the request

Which issue(s) this PR closes

Related to [issue link here]

Checklist

github-actions[bot] commented 2 months ago

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

github-actions[bot] commented 4 weeks ago

This pull request has been automatically closed because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!