Metadata-Version: 2.0
Name: aiohttp-sentry
Version: 0.2.0
Summary: An aiohttp middleware for reporting errors to Sentry
Home-page: https://github.com/underyx/aiohttp-sentry
Author: Bence Nagy
Author-email: bence@underyx.me
License: UNKNOWN
Download-URL: https://github.com/underyx/aiohttp-sentry/releases
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: raven (~=6.1)
Requires-Dist: raven-aiohttp (~=0.5.0)

aiohttp-sentry
==============

.. image:: https://circleci.com/gh/underyx/aiohttp-sentry.svg?style=shield
   :target: https://circleci.com/gh/underyx/aiohttp-sentry
   :alt: CI Status

An aiohttp_ middleware for reporting errors to Sentry_. Python 3.5+ is required.

Usage
-----

.. code-block:: python

    from aiohttp import web
    from aiohttp_sentry import SentryMiddleware
    app = web.Application(
        middlewares=(
            SentryMiddleware({
                'environment': 'foo',
                'release': 'bar',
            }),
            # ...
        ),
    )

.. _aiohttp: http://aiohttp.readthedocs.io/en/stable/
.. _Sentry: http://sentry.io/


