diff --git a/erp5/util/benchmark/process.py b/erp5/util/benchmark/process.py index 688e3c0e41765470f61f5e9f2a2574af9cf79c91..87ff149ea7ea6ce1d3a5c1b1b72c9de42b3372ec 100644 --- a/erp5/util/benchmark/process.py +++ b/erp5/util/benchmark/process.py @@ -81,7 +81,8 @@ class BenchmarkProcess(multiprocessing.Process): msg = "%s: %s" % (target, traceback.format_exc()) try: - msg += self._browser.contents + msg += "Last response headers:\n%s\nLast response contents:\n%s" % \ + (self._browser.headers, self._browser.contents) except: pass