mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-24 23:10:57 -05:00
Fix printing install errors redirected to stdout (#4466)
Following a regression in #4443
This commit is contained in:
parent
2f316d632b
commit
396c06a6a9
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ class Installer:
|
|||
self.install(version)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(
|
||||
colorize("error", f"\nAn error has occurred: {e}\n{e.stderr.decode()}")
|
||||
colorize("error", f"\nAn error has occurred: {e}\n{e.stdout.decode()}")
|
||||
)
|
||||
|
||||
return e.returncode
|
||||
|
|
Loading…
Reference in a new issue