Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A RequestHandler mixin for sending exceptions to Sentry

Project description

A RequestHandler mixin for sending exceptions to Sentry

Version Downloads Status Coverage License


sprockets.mixins.sentry is available on the Python Package Index and can be installed via pip or easy_install:

pip install sprockets.mixins.sentry



This examples demonstrates how to use sprockets.mixins.sentry.

from sprockets.mixins import sentry
from tornado import web

class RequestHandler(sentry.SentryMixin, web.RequestHandler):
    """Requires a ``SENTRY_DSN`` environment variable is set with the
    DSN value provided by sentry.

    The Mixin should catch unhandled exceptions and report them to Sentry.

    def get(self, *args, **kwargs):
        raise ValueError("This should send an error to sentry")

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sprockets.mixins.sentry-1.1.2-py2.py3-none-any.whl (8.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 4, 2017
sprockets.mixins.sentry-1.1.2.tar.gz (8.6 kB) Copy SHA256 hash SHA256 Source None Oct 4, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page