Skip to content

Commit 396c06a

Browse files
authored
Fix printing install errors redirected to stdout (#4466)
Following a regression in #4443
1 parent 2f316d6 commit 396c06a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install-poetry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def _is_self_upgrade_supported(x):
440440
self.install(version)
441441
except subprocess.CalledProcessError as e:
442442
print(
443-
colorize("error", f"\nAn error has occurred: {e}\n{e.stderr.decode()}")
443+
colorize("error", f"\nAn error has occurred: {e}\n{e.stdout.decode()}")
444444
)
445445

446446
return e.returncode

0 commit comments

Comments
 (0)