diff options
author | Théo de la Hogue | 2024-05-28 09:49:16 +0200 |
---|---|---|
committer | Théo de la Hogue | 2024-05-28 09:49:16 +0200 |
commit | d0c63652c0d16941e8be5f7be519cbd44cfe6baf (patch) | |
tree | a2d59c10d31a231fda943fda05b854bbf3c46551 | |
parent | 40d23124660ee7e52580ed1001d188ebd034ae02 (diff) | |
download | argaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.zip argaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.tar.gz argaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.tar.bz2 argaze-d0c63652c0d16941e8be5f7be519cbd44cfe6baf.tar.xz |
Fixing TimestampedException creation.
-rw-r--r-- | src/argaze/DataFeatures.py | 4 |
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 |