diff --git a/engine/src/flutter/ci/scan_flattened_deps.py b/engine/src/flutter/ci/scan_flattened_deps.py index ca400f21db..51cdee1041 100644 --- a/engine/src/flutter/ci/scan_flattened_deps.py +++ b/engine/src/flutter/ci/scan_flattened_deps.py @@ -236,7 +236,13 @@ def get_common_ancestor_commit(dep, deps_list): print('Ancestor commit: ' + ancestor_commit) return ancestor_commit except subprocess.CalledProcessError as error: - print("Subprocess error '{0}' occured.".format(error.output)) + print( + "Subprocess command '{0}' failed with exit code: {1}.".format( + error.cmd, str(error.returncode) + ) + ) + if error.output: + print("Subprocess error output: '{0}'".format(error.output)) return {}