Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1013 Bytes

README.rst

File metadata and controls

48 lines (29 loc) · 1013 Bytes

pyApp - Rollbar

Let us handle the boring stuff!

Integration with Rollbar error tracking. The extension provides the following features.

Initialise Client
On startup of the application the client is configured ready for use.
Top-Level Error Reporting
Register a top level exception handler to catch any exceptions that are not handled by the application

Installation

Install using pip:

pip install pyapp.rollbar

Configuration

Settings can be provided in one of two ways, via the ROLLBAR settings key or via the ROLLBAR_ACCESS_TOKEN and ENVIRONMENT environment variables.

Usage

Rollbar itself is a singleton available from the rollbar module. eg

import rollbar

rollbar.report_message("Hi!")