We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Hub
init
1 parent 7996dca commit 1e82809Copy full SHA for 1e82809
sentry_sdk/hub.py
@@ -90,7 +90,7 @@ def _init(*args, **kwargs):
90
This takes the same arguments as the client constructor.
91
"""
92
client = Client(*args, **kwargs) # type: ignore
93
- Hub.current.bind_client(client)
+ Scope.get_global_scope().set_client(client)
94
_check_python_deprecations()
95
rv = _InitGuard(client)
96
return rv
0 commit comments