summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-05-16 08:15:02 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-05-16 08:15:02 +0200
commit3e47f0d359afb3b0f73bc54eea8ace81acd3caa2 (patch)
tree7d0270d9bf057e00813903f82d21625f27e13617
parent3ba2b742d9b8a1e4f89225439174bdc32e2bcd16 (diff)
Benchmark: Only print first 500 chars of error message
-rwxr-xr-xlib/protocol_benchmarks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/protocol_benchmarks.py b/lib/protocol_benchmarks.py
index d2f6188..a9fd18e 100755
--- a/lib/protocol_benchmarks.py
+++ b/lib/protocol_benchmarks.py
@@ -1410,7 +1410,7 @@ class Benchmark:
'ts' : int(time.time())
}
print('{} {} {} ({}) :: {} -> [E] {}'.format(
- libkey, bench_name, bench_index, data, key, error))
+ libkey, bench_name, bench_index, data, key, error[:500]))
def log(self, arch, library, library_options, bench_name, bench_index, data, key, value = None, error = None):
if not library_options: