Closed andrastime closed 4 years ago
Our Python error library (pybrake) requires Python 3.4+.
Python 2.7 users should follow the Python 2 instructions.
pip install -U pybrake
(You can find your project ID and API key in your project's settings)
import pybrake notifier = pybrake.Notifier(project_id=<Your project ID>, project_key='<Your project API KEY>', environment='production')
To test that you've installed Airbrake correctly, try triggering a test error.
try: raise ValueError('hello') except Exception as err: notifier.notify(err)
For more information please visit our official GitHub repo.
Installation
Our Python error library (pybrake) requires Python 3.4+.
Python 2.7 users should follow the Python 2 instructions.
Configuration
(You can find your project ID and API key in your project's settings)
Send a test error
To test that you've installed Airbrake correctly, try triggering a test error.
Full documentation
For more information please visit our official GitHub repo.