зеркало из https://github.com/mozilla/gecko-dev.git
1.6 KiB
1.6 KiB
sentry-python - Sentry SDK for Python
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("https://mydsn@sentry.io/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:
License
Licensed under the BSD license, see LICENSE