Skip to content

Commit

Permalink
Merge pull request #320 from joerick/reenable-linux-troubleshoot
Browse files Browse the repository at this point in the history
Add back missing 'troubleshoot' function call
  • Loading branch information
joerick authored Apr 10, 2020
2 parents 882ea34 + fa605d0 commit 407a1c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cibuildwheel/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 407a1c0

Please sign in to comment.