Merge pull request #320 from joerick/reenable-linux-troubleshoot

Add back missing 'troubleshoot' function call
This commit is contained in:
Joe Rickerby
2020-04-10 17:23:21 +01:00
committed by GitHub
+2 -1
View File
@@ -260,7 +260,8 @@ def build(options: BuildOptions):
call(['docker', 'cp',
container_name + ':/output/.',
os.path.abspath(options.output_dir)])
except subprocess.CalledProcessError:
except subprocess.CalledProcessError as error:
troubleshoot(options.project_dir, error)
exit(1)
finally:
# Still gets executed, even when 'exit(1)' gets called