From d0c63652c0d16941e8be5f7be519cbd44cfe6baf Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Tue, 28 May 2024 09:49:16 +0200 Subject: Fixing TimestampedException creation. --- src/argaze/DataFeatures.py | 4 ++-- 1 file 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 -- cgit v1.1