mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1839742 - Log stderr of successful commands in python configure. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D181685
This commit is contained in:
parent
f305d07229
commit
a0a2d54501
@ -56,6 +56,8 @@ def check_cmd_output(*args, **kwargs):
|
||||
with log.queue_debug():
|
||||
retcode, stdout, stderr = get_cmd_output(*args, **kwargs)
|
||||
if retcode == 0:
|
||||
with LineIO(lambda l: log.debug("| %s", l)) as o:
|
||||
o.write(stderr)
|
||||
return stdout
|
||||
|
||||
log.debug("The command returned non-zero exit status %d.", retcode)
|
||||
|
Loading…
Reference in New Issue
Block a user