mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-06 02:26:46 +00:00
🔊 Raise from previous exception (#195)
This commit is contained in:
parent
49d33f9f70
commit
b0b88f9d5b
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def get_app(
|
|||
logging.error(f"Error getting request body: {e}")
|
||||
raise HTTPException(
|
||||
status_code=400, detail="There was an error parsing the body"
|
||||
)
|
||||
) from e
|
||||
values, errors, background_tasks = await solve_dependencies(
|
||||
request=request, dependant=dependant, body=body
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue