Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Nov 19, 2024
1 parent 24be3d3 commit e762ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_sdk/tracing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ def get_current_span(scope=None):
from sentry_sdk.tracing import Span


def finish_running_transaction(scope):
def finish_running_transaction(scope=None):
# type: (Optional[sentry_sdk.Scope]) -> None
current_scope = scope or sentry_sdk.get_current_scope()
if current_scope.transaction is not None and hasattr(
Expand Down

0 comments on commit e762ef9

Please sign in to comment.