-
Starlette puts In Starlette 0.14.1, reversing the order worked fine, but now, it causes the test client to break. Anytime an exception is raised in my endpoint, my test client just gets the HTML of the 500 page, rather than raising the exception that tells me what went wrong. This makes my
Any advice on how to write a middleware that propagates exceptions properly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Can you do |
Beta Was this translation helpful? Give feedback.
Can you do
app: ASGIApp = MyMiddleware(Starlette(...)))
?