In my opinion the nesting there helps to clarify the "scope" of `send_exception`, but it is a minor thing. In general, like you probably noticed from my other comments, I like to re-factor deeply nested code into their own functions, so in this case the only nesting level would be the `try` ... `except` clause.

It is not necessary to fix it, it is just a comment. I am tagging comments with [optional] which means no action required.