[FIX] js tests: log full DOM on error

This commit is contained in:
Christophe Simonis
2015-08-15 18:25:56 +02:00
parent 7bf07f928e
commit cf33db868e
+1 -1
View File
@@ -314,7 +314,7 @@ class HttpCase(TransactionCase):
_logger.error("phantomjs: %s", line_[0])
# The second part of the log is for debugging
if len(line_) > 1:
_logger.info("phantomjs: \n%s", line.split('\n\n')[1])
_logger.info("phantomjs: \n%s", line.split('\n\n', 1)[1])
pass
break
elif line.startswith("warning"):