|
|
|
@ -52,7 +52,7 @@ app.add_exception_handler(HTTPException, handle_exception)
|
|
|
|
app.add_exception_handler(StarletteHTTPException, handle_exception)
|
|
|
|
app.add_exception_handler(StarletteHTTPException, handle_exception)
|
|
|
|
app.add_exception_handler(RequestValidationError, handle_exception)
|
|
|
|
app.add_exception_handler(RequestValidationError, handle_exception)
|
|
|
|
app.add_exception_handler(RateLimitExceeded, _rate_limit_exceeded_handler)
|
|
|
|
app.add_exception_handler(RateLimitExceeded, _rate_limit_exceeded_handler)
|
|
|
|
|
|
|
|
app.add_exception_handler(SQLAlchemyError, handle_exception)
|
|
|
|
|
|
|
|
|
|
|
|
from src.context import set_request_id, reset_request_id, get_request_id
|
|
|
|
from src.context import set_request_id, reset_request_id, get_request_id
|
|
|
|
|
|
|
|
|
|
|
|
|