Skip to content

Commit

Permalink
Update status code
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrishabh17 committed Jun 26, 2024
1 parent 23bec31 commit 588c337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def new_fn(*args, **kwargs):
logger.exception(e)
return Response(
{"message": e.detail},
status=status.HTTP_500_INTERNAL_SERVER_ERROR,
status=status.HTTP_400_BAD_REQUEST,
)

except Exception as exception:
Expand Down

0 comments on commit 588c337

Please sign in to comment.