diff --git a/build/automation.py.in b/build/automation.py.in index c291ac5ff0e..78ccc5d451e 100644 --- a/build/automation.py.in +++ b/build/automation.py.in @@ -792,13 +792,13 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t (line, didTimeout) = self.readWithTimeout(logsource, timeout) while line != "" and not didTimeout: + self.log.info(line.rstrip().decode("UTF-8", "ignore")) if logger: logger.log(line) if "TEST-START" in line and "|" in line: self.lastTestSeen = line.split("|")[1].strip() if stackFixerFunction: line = stackFixerFunction(line) - self.log.info(line.rstrip().decode("UTF-8", "ignore")) if not debuggerInfo and "TEST-UNEXPECTED-FAIL" in line and "Test timed out" in line: if self.haveDumpedScreen: self.log.info("Not taking screenshot here: see the one that was previously logged") diff --git a/testing/mochitest/runtests.py b/testing/mochitest/runtests.py index 2b324bf77f9..4e464bf6e91 100644 --- a/testing/mochitest/runtests.py +++ b/testing/mochitest/runtests.py @@ -700,7 +700,7 @@ class Mochitest(object): self.automation.log.info("INFO | runtests.py | Received keyboard interrupt.\n"); status = -1 except: - self.automation.log.info("INFO | runtests.py | Received unexpected exception while running application '%s'\n" % (sys.exc_info()[1])) + self.automation.log.exception("INFO | runtests.py | Received unexpected exception while running application\n") status = 1 if options.vmwareRecording: