3 ms·
Because accidentally masking some BaseExceptions like `asyncio.CancelledError` can lead to things like memory/resource leaks and potentially your production app
by 1st1 2y ago
Because accidentally masking some BaseExceptions like `asyncio.CancelledError` can lead to things like memory/resource leaks and potentially your production app going down in pretty hard to debug ways.
- theamk 2y agowell, yeah, you don't want to mask any of those. Thats why all my examples talk about logging + re-raising.