[pypy-commit] benchmarks default: improve the error message as well as temporarily fix the problem

fijal noreply at buildbot.pypy.org
Wed Jul 20 13:13:18 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r128:607ab424c877
Date: 2011-07-20 13:13 +0200
http://bitbucket.org/pypy/benchmarks/changeset/607ab424c877/

Log:	improve the error message as well as temporarily fix the problem

diff --git a/saveresults.py b/saveresults.py
--- a/saveresults.py
+++ b/saveresults.py
@@ -40,6 +40,7 @@
             'benchmark': bench_name,
             'environment': host,
             'result_value': value,
+            'branch': 'default',
         }
         if res_type == "ComparisonResult":
             if changed:
@@ -71,6 +72,7 @@
             response += '  Reason: ' + str(e.reason)
         elif hasattr(e, 'code'):
             response = '\n  The server couldn\'t fulfill the request'
+        response = "\n".join([response] + e.readlines())
         print("Server (%s) response: %s" % (SPEEDURL, response))
         print('  Error code: %s\n' % (e,))
         return 1


More information about the pypy-commit mailing list