Commit 656c71d4 by Nikolai Røed Kristiansen Committed by GitHub

Fix printing install errors redirected to stdout (#4466)

Following a regression in #4443
parent 3519d2b6
......@@ -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
......
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