Browse Source

Merge 8119b6909b into 6df50d40fe

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

2
fastapi/routing.py

@ -284,7 +284,7 @@ def get_request_handler(
raise raise
except Exception as e: except Exception as e:
http_error = HTTPException( 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 raise http_error from e
errors: List[Any] = [] errors: List[Any] = []

Loading…
Cancel
Save