Skip to content

Commit

Permalink
frontend: 400 instead of 500 for invalid arguments provided by user
Browse files Browse the repository at this point in the history
  • Loading branch information
nikromen committed Mar 1, 2025
1 parent 4290ad8 commit 2630ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/coprs_frontend/coprs/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class InsufficientStorage(CoprHttpException):
_code = 500


class MalformedArgumentException(CoprHttpException, ValueError):
class MalformedArgumentException(BadRequest, ValueError):
pass


Expand Down

0 comments on commit 2630ce4

Please sign in to comment.