diff options
author | Jordan Petridis <jordan@centricular.com> | 2021-08-31 19:47:34 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-08-31 19:02:47 +0100 |
commit | b6c8fa1fad76d24c493200476f8a3de73184f0ac (patch) | |
tree | 09aff46fa8912c541723a26726117f882eae7fb5 /git-update | |
parent | f62ec72ca07065c8034d48620030b0e85b116265 (diff) |
git-update: dump output in case subproject download fails
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/260>
Diffstat (limited to 'git-update')
-rwxr-xr-x | git-update | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -204,7 +204,14 @@ if __name__ == "__main__": if options.manifest: meson = get_meson() - targets_s = subprocess.check_output(meson + ['subprojects', 'download']) + try: + targets_s = subprocess.check_output(meson + ['subprojects', 'download'], shell=False, universal_newlines=True) + except subprocess.CalledProcessError as err: + print(f"Subproject download Failed") + print(f"Output: {err.output}") + print(f"Exit code: {err.returncode}") + exit(err.returncode) + repos_commits = manifest_get_commits(options.manifest) FORCE_CHECKOUT = True else: |