Add back missing 'troubleshoot' function call

This commit is contained in:
Joe Rickerby
2020-04-10 14:18:09 +01:00
parent 882ea3426a
commit fa605d080b
+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