Commit 9b96d6db by Sébastien Eustace

Update get-poetry.py script

parent 6c2dda23
...@@ -162,7 +162,13 @@ class Installer: ...@@ -162,7 +162,13 @@ class Installer:
print('Installing version: ' + colorize('info', version)) print('Installing version: ' + colorize('info', version))
return self.install(version) try:
return self.install(version)
except subprocess.CalledProcessError as e:
print(colorize('error', 'An error has occured: {}'.format(str(e))))
print(e.output)
return e.returncode
def install(self, version): def install(self, version):
# Most of the work will be delegated to pip # Most of the work will be delegated to pip
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment