Hang on, I already use Sentry
Keep sentry-sdk and change its destination to your Telebugs DSN. Your error reports stay on your server. You don’t need a Sentry account.
The I/O loop keeps moving. Don’t lose the exception along the way. The Sentry Tornado integration sends your error reports to Telebugs on your server.
Space pauses or resumes. R replays. Escape shows the complete setup.
Keep sentry-sdk and change its destination to your Telebugs DSN. Your error reports stay on your server. You don’t need a Sentry account.
The Tornado integration reports request handler exceptions with their Python backtraces. You can also report an exception yourself when your code catches it and carries on.
It can still be worth investigating. Send it with sentry_sdk.capture_exception and keep its backtrace alongside the errors the integration captures.