REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.40 KB
Close
//opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/__init__.py
Text
Base64
""" 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) """ from sentry_sdk.hub import Hub, init from sentry_sdk.scope import Scope from sentry_sdk.transport import Transport, HttpTransport from sentry_sdk.client import Client from sentry_sdk.api import * # noqa from sentry_sdk.api import __all__ as api_all from sentry_sdk.consts import VERSION # noqa __all__ = api_all + [ # noqa "Hub", "Scope", "Client", "Transport", "HttpTransport", "init", "integrations", ] # Initialize the debug support after everything is loaded from sentry_sdk.debug import init_debug_support init_debug_support() del init_debug_support
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
integrations
DIR
-
drwxr-xr-x
2024-03-21 10:24:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__pycache__
DIR
-
drwxr-xr-x
2024-03-21 10:24:45
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
api.py
2.82 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
client.py
8.40 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
consts.py
2.21 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
debug.py
1.01 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hub.py
12.72 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
scope.py
7.02 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
transport.py
6.79 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utils.py
26.92 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
worker.py
3.47 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
_compat.py
2.17 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__init__.py
1.40 KB
lrw-r--r--
2019-04-05 23:15:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).