Skip to content

Commit 545f3a1

Browse files
Update sentry_sdk/tracing.py
Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
1 parent ce88720 commit 545f3a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ def name(self):
13801380
# type: () -> Optional[str]
13811381
from sentry_sdk.integrations.opentelemetry.consts import SentrySpanAttribute
13821382

1383-
self._get_attribute(SentrySpanAttribute.NAME)
1383+
return self._get_attribute(SentrySpanAttribute.NAME)
13841384

13851385
@name.setter
13861386
def name(self, value):

0 commit comments

Comments
 (0)