Commit 5dcd7f1f authored by Arnaud Fontaine's avatar Arnaud Fontaine

Always display the page source upon error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@46017 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 455d59fd
......@@ -81,9 +81,8 @@ class BenchmarkProcess(multiprocessing.Process):
msg = "%s: %s" % (target, traceback.format_exc())
if (self._argument_namespace.enable_debug and isinstance(e, Exception)):
try:
msg += self._browser.normalized_contents
msg += self._browser.contents
except:
pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment