I can only agree with @pokoli : use Sentry.
There is available the python module he pointed and also very recently this integration https://discuss.tryton.org/t/sentry-sdk-integration has made its way to the master sentry_sdk branch and has been released to PyPI.
Sadly, neither capture client exceptions, only server’s.
If you don’t like this particular ticketing system, you can develop handlers for any other one in a similar fashion.