Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 08452af

Browse files
committed
Fix decorator
1 parent 24eebfb commit 08452af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seamapi/utils/report_error.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
Expects that the model has a `seam` attribute that is a `Seam` instance.
77
"""
88
def report_error(f):
9-
def wrapper(self, *args):
9+
def wrapper(self, *args, **kwargs):
1010
try:
11-
return f(self, *args)
11+
return f(self, *args, **kwargs)
1212
except Exception as error:
1313
if self.seam.should_report_exceptions and type(error) is not SeamAPIException:
1414
sentry_sdk.capture_exception(error)

0 commit comments

Comments
 (0)