Sentry for Tryton
Sentry is a realtime event logging system. This module provides a tryton daemon script which reports unhandled exceptions to sentry and sends a friendly message to the client with an identifier of the error code. The daemon script trytond_sentry is a drop in replacement for trytond installed by the trytond official package.
Build Status (Master)
Build Status (Develop)
Screenshots
Installation
From PyPI:
pip install trytond_sentry
For older versions:
pip install 'trytond_sentry>=2.8,<3.0'
From git repository:
git clone git@github.com:fulfilio/trytond-sentry.git cd trytond-sentry python setup.py install
Usage
The DSN is an additional argument required for the daemon script to know which sentry server the errors should be reported to. This can be specified in two ways:
-
As a command line argument:
trytond_sentry -s http://<public_key>:<secret_key>@sentry.com/1
-
In the configuration:
trytond_sentry -c /path/to/config
where the config file has an argument
sentry_dsn = http://<public_key>:<secret_key>@sentry.com/1
Changelog
Read CHANGELOG