This is the next line of the Python SDK for Sentry, intended to replace the raven
package on PyPI.
from sentry_sdk import init, capture_message
init("[email protected]/123")
capture_message("Hello World") # Will create an event.
raise ValueError() # Will also create an event.
To learn more about how to use the SDK:
- Getting started with the new SDK
- Configuration options
- Setting context (tags, user, extra information)
- Integrations
Are you coming from raven-python?
To learn about internals:
Licensed under the BSD license, see LICENSE