We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf428c commit 8751edbCopy full SHA for 8751edb
packages/service-library/src/servicelib/fastapi/http_error.py
@@ -94,7 +94,7 @@ def set_app_default_http_error_handlers(app: FastAPI) -> None:
94
app.add_exception_handler(
95
ValidationError,
96
make_http_error_handler_for_exception(
97
- status.HTTP_422_UNPROCESSABLE_ENTITY,
+ status.HTTP_500_INTERNAL_SERVER_ERROR,
98
99
envelope_error=True,
100
),
0 commit comments