Sentry Tryton module
- Sergi Almacellas Abellana
- https://pypi.org/project/sentry_tryton/
- https://gitlab.com/pokoli/sentry-tryton/issues
- 4.2, 4.4, 4.6, 4.8, 5.0, 5.2, 5.4, 5.6, 5.8, 6.0
- 3.5, 3.6, 3.7, 3.8, 3.9
This module creates a new LoggingHandler for registering tryton exceptions on sentry. This exception will get some information available on tryton:
- Info about the current user
- The list of modules activated and itβs verions.
- The database name
- The backend name
- The request context
It also allows to define a custom error message and description that will be sent to the user instead of showing the full traceback.
Usage
The package includes an example config file for using the sentry handler. You only have to specify your sentry dsn on the first arg of the sentry handler. Once you have modified this file just lunch your trytond with:
trytond --logconf trytond-logconf.cfg
All server exceptions will be stored to sentry now so you can easly fix them without asking your users for additional information