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:
Mike Hommey 2023-06-22 02:44:45 +00:00
parent f305d07229
commit a0a2d54501

View File

@ -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)