mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-16 04:53:11 -04:00
🔊 Raise from previous exception (#195)
This commit is contained in:
committed by
Sebastián Ramírez
parent
49d33f9f70
commit
b0b88f9d5b
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user