Skip to main content

Sanic error handlert that integrates with Sentry

Project description

|Travis| |PyPI|

Sentry error handler for Sanic web server


- python >= 3.5


**sanic-sentry-error-handler** should be installed using pip: ::

pip install sanic-sentry-error-handlert

**SENTRY_DSN** - Sentry DSN for your application

To begin we'll set up a Sanic app:

.. code:: python
>>> from sanic import Sanic
>>> from sanic_sentry import SanicSentryErrorHandler
>>> app = Sanic(__name__)
>>> app.error_handler = SanicSentryErrorHandler('')

.. |Travis| image::
.. |PyPI| image::

Project details

Download files

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

Files for sanic-sentry-error-handler, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size sanic-sentry-error-handler-0.1.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page