diff --git a/run.py b/run.py index 5651301..1128f3d 100755 --- a/run.py +++ b/run.py @@ -38,7 +38,9 @@ def export_vcs(project_directory, install_path): # Now call vcs. vcs_command = "vcs export --exact-with-tags {} > {}".format(project_directory, output_file) - subprocess.run(vcs_command, shell=True) + result = subprocess.run(vcs_command, shell=True, capture_output=True) + if result.returncode != 0: + print("Failed to export software version. Return code: {}".format(result.returncode)) if __name__ == "__main__":