aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2024-05-28 09:49:16 +0200
committerThéo de la Hogue2024-05-28 09:49:16 +0200
commitd0c63652c0d16941e8be5f7be519cbd44cfe6baf (patch)
treea2d59c10d31a231fda943fda05b854bbf3c46551
parent40d23124660ee7e52580ed1001d188ebd034ae02 (diff)
downloadargaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.zip
argaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.tar.gz
argaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.tar.bz2
argaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.tar.xz
Fixing TimestampedException creation.doc/update
-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