diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-05-16 08:15:02 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-05-16 08:15:02 +0200 |
commit | 3e47f0d359afb3b0f73bc54eea8ace81acd3caa2 (patch) | |
tree | 7d0270d9bf057e00813903f82d21625f27e13617 /lib/protocol_benchmarks.py | |
parent | 3ba2b742d9b8a1e4f89225439174bdc32e2bcd16 (diff) |
Benchmark: Only print first 500 chars of error message
Diffstat (limited to 'lib/protocol_benchmarks.py')
-rwxr-xr-x | lib/protocol_benchmarks.py | 2 |
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: |