diff --git a/engine/src/flutter/tools/fuchsia/gen_package.py b/engine/src/flutter/tools/fuchsia/gen_package.py index c000a8e6651..f9a2685c0ef 100755 --- a/engine/src/flutter/tools/fuchsia/gen_package.py +++ b/engine/src/flutter/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)