Adam Pawluczuk

Results 3 comments of Adam Pawluczuk

So basically what I have is this: ```python from hypercorn.utils import LifespanFailure try: await self.app() except LifespanFailure: pass ``` It is being used like this in one of the middlewares.

Yes, that makes sense. So it looks like it could be the fault on the application side then. Thank you!

That was our legitimate code. We basically were catching `BaseException` and then invoking `task_status.started(exception)`. Otherwise anyio raises `RuntimError` when the task status started is not called. But when I read...