diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-11-16 14:36:50 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-11-16 14:36:50 +0100 |
commit | 89d564fa6a6ed7f97d8b0f0201b1424340f21c27 (patch) | |
tree | c810152678a0100c89edbab5d44e55b0e051984a /lib/lennart | |
parent | c16163f5bcea9df186c04c9820abe1d3f509b023 (diff) |
do not parse energytrace logs with large sync offset
Diffstat (limited to 'lib/lennart')
-rw-r--r-- | lib/lennart/DataProcessor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lennart/DataProcessor.py b/lib/lennart/DataProcessor.py index 8341b9c..1e30f36 100644 --- a/lib/lennart/DataProcessor.py +++ b/lib/lennart/DataProcessor.py @@ -112,7 +112,7 @@ class DataProcessor: logger.debug(f"Start/End offsets: {start_offset} / {end_offset}") if abs(end_offset) > 10: - logger.warning( + raise RuntimeError( f"synchronization end_offset == {end_offset}. It should be no more than a few seconds." ) |