Skip to content

Commit f738a8a

Browse files
committed
Fix threading warning
1 parent 7339704 commit f738a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/threading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _run_old_run_func():
120120
# type: () -> Any
121121
try:
122122
self = current_thread()
123-
return old_run_func(self, *a, **kw)
123+
return old_run_func(self, *a[1:], **kw)
124124
except Exception:
125125
reraise(*_capture_exception())
126126

0 commit comments

Comments
 (0)