diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py index b2f2cd4067..5df6a83fef 100755 --- a/cros_mark_as_stable.py +++ b/cros_mark_as_stable.py @@ -248,7 +248,8 @@ def _SimpleRunCommand(command): stdout = proc_handle.communicate()[0] retcode = proc_handle.wait() if retcode != 0: - raise subprocess.CalledProcessError(retcode, command, output=stdout) + _Print(stdout) + raise subprocess.CalledProcessError(retcode, command) return stdout