Sentry doesn't detect any error with

I have created a bot with, and sentry doesn’t detect anything if I divide by zero :

value = 1/0

I haven’t paid Sentry, and I haven’t reached the event limit.

Waiting for a solution.

After many tests, I found that it only get errors when it is not inside a bot command definition.

@Gugu72 We have no integration for Python, which means that the SDK has no understanding of what an “uncaught exception” is in Therefore automatic error reporting will only happen for exceptions that crash the process (so, outside of a command definition).

To manually capture errors you can do:

except Exception: