diff --git a/app/errors.py b/app/errors.py index 1e61f30e..40275b09 100644 --- a/app/errors.py +++ b/app/errors.py @@ -7,7 +7,8 @@ # Define error responses error_responses = { status.HTTP_404_NOT_FOUND: {"model": ErrorResponse}, - status.HTTP_422_UNPROCESSABLE_ENTITY: {"model": ErrorResponse} + status.HTTP_422_UNPROCESSABLE_ENTITY: {"model": ErrorResponse}, + status.HTTP_500_INTERNAL_SERVER_ERROR: {"model": ErrorResponse} }