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

Uploaded Source

Built Distribution

sentry_tryton-0.3-py2.py3-none-any.whl (15.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sentry_tryton-0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for sentry_tryton-0.3.tar.gz
Algorithm Hash digest
SHA256 9f49242ffb448fd3aba00390ed5b7cb4e26b200662b082f9a2d0e228d187a67c
MD5 60fb08bfc0d127db57af20ae806c4834
BLAKE2b-256 ff122739f823000653a1eb4272267827b235e4b7cbdbdc39779ac27618bd6b3b

See more details on using hashes here.

File details

Details for the file sentry_tryton-0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: sentry_tryton-0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for sentry_tryton-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 934c02337342c36e8486e6054a302d0c724dd43e545a08cd6c2e23bc53d76280
MD5 326f1fd4ca558a7bef745588147db4c7
BLAKE2b-256 405f874661e5882abd01f94bdfd9b5d4274a7573f30303aa73238f3757710599

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