Python SDK API Reference
Highlight's Python SDK makes it easy to monitor errors and logs on your Python backend.
Just getting started?
Check out our getting started guide to get up and running quickly.
H() initializes the Highlight backend SDK.
Record arbitrary exceptions raised within your app.
Catch exceptions raised by your app using this context manager. Exceptions will be recorded with the Highlight project and associated with a frontend session when headers are provided. Exceptions will be re-raised in case you want to have them propagate.