Bug 1816110 - reduce error output from talos tabswitch. r=sparky,perftest-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D169522
This commit is contained in:
Joel Maher 2023-02-15 16:04:33 +00:00
parent fc752aa9f0
commit 5189e8f6b4

View File

@ -94,8 +94,10 @@ class Reader(object):
self.event.set()
if not (
line.startswith("JavaScript error:")
or line.startswith("JavaScript warning:")
"JavaScript error:" in line
or "JavaScript warning:" in line
or "SyntaxError:" in line
or "TypeError:" in line
):
LOG.process_output(self.proc.pid, line)
self.output.append(line)