Replies: 1 comment 3 replies
-
What's your starlette version? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using a timeout middleware that add a timeout on each request and return a 504 response when reached (Using
await asyncio.wait_for(call_next(request), timeout=30)
just like this: #890 (comment)).This work very well and do the job as intended.
But there is an issue when trying to debug the cause of the timeout, the traceback is not full and don't show the line that cause the delay:
Example as follow:
Is there some way to get the full traceback with the exact error line ?
Beta Was this translation helpful? Give feedback.
All reactions