Browse Source

Merge 8119b6909b into 1d434dec47

pull/12490/merge
Rushan 4 days ago
committed by GitHub
parent
commit
22c58547f1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      fastapi/routing.py

2
fastapi/routing.py

@ -283,7 +283,7 @@ def get_request_handler(
raise
except Exception as e:
http_error = HTTPException(
status_code=400, detail="There was an error parsing the body"
status_code=400, detail=f"There was an error parsing the body: {e}"
)
raise http_error from e
errors: List[Any] = []

Loading…
Cancel
Save