Browse Source

🔊 Raise from previous exception (#195)

pull/229/head
Ricardo Momm 6 years ago
committed by Sebastián Ramírez
parent
commit
b0b88f9d5b
  1. 2
      fastapi/routing.py

2
fastapi/routing.py

@ -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…
Cancel
Save