From 3e47f0d359afb3b0f73bc54eea8ace81acd3caa2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 16 May 2019 08:15:02 +0200 Subject: Benchmark: Only print first 500 chars of error message --- lib/protocol_benchmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/protocol_benchmarks.py') 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: -- cgit v1.2.3