Skip to content

Commit

Permalink
Fix printing install errors redirected to stdout (#4466)
Browse files Browse the repository at this point in the history
Following a regression in #4443
  • Loading branch information
nikolaik committed Sep 19, 2021
1 parent 3519d2b commit 656c71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def _is_self_upgrade_supported(x):
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
Expand Down

0 comments on commit 656c71d

Please sign in to comment.