Skip to content

Commit 6adfe61

Browse files
committed
.
1 parent 49f7460 commit 6adfe61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/scope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def get_global_scope(cls) -> "Scope":
366366

367367
return _global_scope
368368

369-
def _set_global_attributes(self) -> None:
369+
def set_global_attributes(self) -> None:
370370
from sentry_sdk.client import SDK_INFO
371371

372372
self.set_attribute("sentry.sdk.name", SDK_INFO["name"])
@@ -493,7 +493,7 @@ def set_client(
493493
# We need a client to set the initial global attributes on the global
494494
# scope since they mostly come from client options, so populate them
495495
# as soon as a client is set
496-
sentry_sdk.get_global_scope()._set_global_attributes()
496+
sentry_sdk.get_global_scope().set_global_attributes()
497497
else:
498498
self.client = NonRecordingClient()
499499

0 commit comments

Comments
 (0)