Viewing File: /opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/__pycache__/__init__.cpython-38.pyc
U
��\� � @ s� d Z ddlmZmZ ddlmZ ddlmZmZ ddl m
Z
ddlT ddlmZ
ddlmZ e
d d
ddd
ddg ZddlmZ e� [dS )aG
The Sentry SDK is the new-style SDK for [sentry.io](https://sentry.io/). It implements
the unified API that all modern SDKs follow for Python 2.7 and 3.5 or later.
The user documentation can be found on [docs.sentry.io](https://docs.sentry.io/).
## Quickstart
The only thing to get going is to call `sentry_sdk.init()`. When not passed any
arguments the default options are used and the DSN is picked up from the `SENTRY_DSN`
environment variable. Otherwise the DSN can be passed with the `dsn` keyword
or first argument.
import sentry_sdk
sentry_sdk.init()
This initializes the default integrations which will automatically pick up any
uncaught exceptions. Additionally you can report arbitrary other exceptions:
try:
my_failing_function()
except Exception as e:
sentry_sdk.capture_exception(e)
� )�Hub�init)�Scope)� Transport�
HttpTransport)�Client)�*)�__all__)�VERSIONr r r r r r Zintegrations)�init_debug_supportN)�__doc__Zsentry_sdk.hubr r Zsentry_sdk.scoper Zsentry_sdk.transportr r Zsentry_sdk.clientr Zsentry_sdk.apir Zapi_allZsentry_sdk.constsr
Zsentry_sdk.debugr � r
r
�D/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/__init__.py�<module> s&