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 8251c66 commit 616243cCopy full SHA for 616243c
backend/app/common/exception/exception_handler.py
@@ -3,8 +3,9 @@
3
import json
4
5
from fastapi import FastAPI, Request
6
-from fastapi.exceptions import RequestValidationError, HTTPException
+from fastapi.exceptions import RequestValidationError
7
from pydantic import ValidationError
8
+from starlette.exceptions import HTTPException
9
from starlette.responses import JSONResponse
10
from uvicorn.protocols.http.h11_impl import STATUS_PHRASES
11
0 commit comments