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
Install using pip:
pip install pyapp.rollbar
Settings can be provided in one of two ways, via the ROLLBAR settings key or via the ROLLBAR_ACCESS_TOKEN and ENVIRONMENT environment variables.
Rollbar itself is a singleton available from the rollbar module. eg
import rollbar
rollbar.report_message("Hi!")