We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49d33f9 commit b0b88f9Copy full SHA for b0b88f9
fastapi/routing.py
@@ -61,7 +61,7 @@ async def app(request: Request) -> Response:
61
logging.error(f"Error getting request body: {e}")
62
raise HTTPException(
63
status_code=400, detail="There was an error parsing the body"
64
- )
+ ) from e
65
values, errors, background_tasks = await solve_dependencies(
66
request=request, dependant=dependant, body=body
67
)
0 commit comments