mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1727802 - skip invalid character in log handling. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D123788
This commit is contained in:
parent
ef7f2682b5
commit
d33208a49c
@ -1289,7 +1289,7 @@ class StreamOutput(object):
|
||||
def __call__(self, line):
|
||||
ensure = six.ensure_text if self.text else six.ensure_binary
|
||||
try:
|
||||
self.stream.write(ensure(line) + ensure("\n"))
|
||||
self.stream.write(ensure(line, errors="ignore") + ensure("\n"))
|
||||
except TypeError:
|
||||
print(
|
||||
"HEY! If you're reading this, you're about to encounter a "
|
||||
|
Loading…
Reference in New Issue
Block a user