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,11 +81,10 @@ 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
except:
pass
try:
msg += self._browser.contents
except:
pass
if (self._current_repeat == 1 or
self._error_counter == MAXIMUM_ERROR_COUNTER):
......
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