Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Project details


Release history Release notifications

Supported by

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