FYI, if you want to use `logger` inside an exception it's much better to do it like this:

```
....
except SomeException:
    logger.error("Some high-level description of what went wrong", exc_info=True)
```
That way it'll take care of printing the full exception information nicely into the logs.