Skip to content

Commit 2f0dc01

Browse files
committed
.
1 parent dab1970 commit 2f0dc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/traces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def _end(self, end_timestamp: "Optional[Union[float, datetime]]" = None) -> None
451451
if self._scope is None:
452452
return
453453

454-
if not hasattr(self._previous_span_on_scope):
454+
if not hasattr(self, "_previous_span_on_scope"):
455455
return
456456

457457
with capture_internal_exceptions():

0 commit comments

Comments
 (0)