Skip to main content

Sentry Integration for the Tryton Framework

Project description

Sentry integration for the Tryton application framework.

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 trytond-logconf.cfg provides an example config file for using this 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

Issues

Feel free to open Issues on the bitbucket issue tracker if you have some problems with the software or do you want to discuss some posible improvements.

Pull Request are very welcomme also!

Support

You can send me and email on sergi@koolpi.com if you encounter any problems. I will try to reply ASAP, but it may take some time to get a reply, so please be patient.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentry_tryton-0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distributions

sentry_tryton-0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

sentry_tryton-0.2-py2-none-any.whl (4.9 kB view details)

Uploaded Python 2

File details

Details for the file sentry_tryton-0.2.tar.gz.

File metadata

File hashes

Hashes for sentry_tryton-0.2.tar.gz
Algorithm Hash digest
SHA256 69adafa61e3fb9b5f644e65cb3860756e04a75eed82ca6d271cdd28bfcbb0181
MD5 6c4c5a8dbd010d2e59e239a1e241b8ed
BLAKE2b-256 e32ef44e98049e1e9337a5bd1039b6b4682e4af519669f9942cddb9a5f4a6017

See more details on using hashes here.

File details

Details for the file sentry_tryton-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_tryton-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 24c98a263d1eb4e4a0dc8a361a723b0ccd6e6591aef1fbaaf170e57eaee5cd01
MD5 a50b2bda83671e0d3ad5e98d0ce5b8cf
BLAKE2b-256 874870f252f5f530a969b338c4fc5372bbd20d3fef3b1bd245bd5f5b67890a1e

See more details on using hashes here.

File details

Details for the file sentry_tryton-0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for sentry_tryton-0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 192f67beaac29aae059f30949da11e58be12c921826a7e08c5963c4f08237d0c
MD5 9bd910d921df6d42a5d3fda97e9de1eb
BLAKE2b-256 bcb30a8143cab7fa087b6124f1e9ef5f07ef4a8ebdcd530c3d5ad1a56d9afe22

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page