Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 UnboundLocalError: local variable 'status_code' referenced before a…
…ssignment Not all of the errors thrown by asyncio inherit from Exception. I was throwing an exception in a route to test my sentry intergration and it threw a asyncio.exceptions.CancelledError which inherits from BaseException (see https://github.com/python/cpython/blob/3.9/Lib/asyncio/exceptions.py#L9)
- Loading branch information