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.5.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

sentry_tryton-0.5-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sentry_tryton-0.5.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for sentry_tryton-0.5.tar.gz
Algorithm Hash digest
SHA256 83aa31b40fb86280216a24b1bce0a00e0f7ebc86f03f25cf6cc357f394ec64b3
MD5 fde19546ee59fb2315504c3a8aec73b4
BLAKE2b-256 96f01d7b14ed22bf19792b20d8866e192cc40ff35f2961d0e992eb8777825456

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sentry_tryton-0.5-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for sentry_tryton-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4480067f0d943a30dafe51cc2dcbc146c955d5d1037c18b86ed31db18c9fbe14
MD5 c0698cb72dbeeadd96456206c7cbbc22
BLAKE2b-256 5fbcb182a64396c512414e5de84eefc7702741b1026df801e0a13f288fdc169c

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