From e762ef943a93f43674f1ce5be26fe0f53b091f77 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Tue, 19 Nov 2024 16:23:33 +0100 Subject: [PATCH] . --- sentry_sdk/tracing_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry_sdk/tracing_utils.py b/sentry_sdk/tracing_utils.py index 90656698f9..38d631dfd1 100644 --- a/sentry_sdk/tracing_utils.py +++ b/sentry_sdk/tracing_utils.py @@ -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(