Sentry Tryton module
- Sergi Almacellas Abellana
- 4.0, 4.2, 4.4, 4.6, 4.8
- 2.7 3.4, 3.5, 3.6
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.
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