Skip to content

Commit 2e1b785

Browse files
committed
fix args
1 parent 21b5921 commit 2e1b785

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sentry_sdk/tracing.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,17 +1359,17 @@ async def my_async_function():
13591359
return start_child_span_decorator
13601360

13611361

1362-
def start_span(**kwargs):
1363-
return POTelSpan(active=True, **kwargs)
1362+
def start_span(*args, **kwargs):
1363+
return POTelSpan(*args, active=True, **kwargs)
13641364

13651365

1366-
def start_inactive_span(**kwargs):
1367-
return POTelSpan(active=False, **kwargs)
1366+
def start_inactive_span(*args, **kwargs):
1367+
return POTelSpan(*args, active=False, **kwargs)
13681368

13691369

1370-
def start_transaction(**kwargs):
1370+
def start_transaction(*args, **kwargs):
13711371
# XXX force_transaction?
1372-
return POTelSpan(active=True, **kwargs)
1372+
return POTelSpan(*args, active=True, **kwargs)
13731373

13741374

13751375
# Circular imports

0 commit comments

Comments
 (0)