aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/DataFeatures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/DataFeatures.py b/src/argaze/DataFeatures.py
index e435709..861d7fe 100644
--- a/src/argaze/DataFeatures.py
+++ b/src/argaze/DataFeatures.py
@@ -649,7 +649,7 @@ class SharedObject():
self._exceptions = {}
@timestamp
-class TimestampedException(Exception,):
+class TimestampedException(Exception):
"""Enable timestamp management for exception."""
def __init__(self, exception: Exception):
@@ -1266,7 +1266,7 @@ def PipelineStepMethod(method):
# Raise timestamped exception
if exception is not None:
- raise TimestampedException(exception, timestamp)
+ raise TimestampedException(exception, timestamp=timestamp)
return result