Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Airbrake notifier for Tornado web framework.

Project Description
# airbrake-tornado

Airbrake notifier for Tornado web framework.

## Installation

Install via pip:

pip install airbrake-tornado

## Usage

```python
from airbrake import airbrake

# In your RequestHandler:

API_KEY = "Airbrake API key"
ENV_NAME = "Airbrake env name"

def write_error(self, status_code, **kwargs):
if exc_info and status_code == 500:
airbrake.notify(kwargs["exc_info"],
self.request,
"My-cool-app",
api_key=self.API_KEY,
environment=self.ENV_NAME)
```


## License

airbrake-tornado is available under the MIT license. See the [LICENSE](LICENSE) file for more info.
Release History

Release History

This version
History Node

0.0.2

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting