diff --git a/tools/fuchsia/gen_package.py b/tools/fuchsia/gen_package.py index c000a8e66513e..f9a2685c0ef0f 100755 --- a/tools/fuchsia/gen_package.py +++ b/tools/fuchsia/gen_package.py @@ -92,7 +92,7 @@ def main(): # Build the package try: - subprocess.check_call(pm_command_base + ['build']) + output = subprocess.check_output(pm_command_base + ['build']) except subprocess.CalledProcessError as e: print('The "%s" command failed:' % e.cmd) print(e.output) @@ -100,7 +100,7 @@ def main(): # Archive the package try: - subprocess.check_call(pm_command_base + ['archive']) + output = subprocess.check_output(pm_command_base + ['archive']) except subprocess.CalledProcessError as e: print('The "%s" command failed:' % e.cmd) print(e.output)