"vscode:/vscode.git/clone" did not exist on "b03872aae06af2b723f019dbfb85857df288dd67"
Unverified Commit 971c638e authored by Stas Bekman's avatar Stas Bekman Committed by GitHub
Browse files

forward the worker stderr to the parent process (#8262)

parent eb6313e8
......@@ -896,8 +896,10 @@ def execute_subprocess_async(cmd, env=None, stdin=None, timeout=180, quiet=False
cmd_str = " ".join(cmd)
if result.returncode > 0:
stderr = "\n".join(result.stderr)
raise RuntimeError(
f"'{cmd_str}' failed with returncode {result.returncode} - see the `stderr:` messages from above for details."
f"'{cmd_str}' failed with returncode {result.returncode}\n\n"
f"The combined stderr from workers follows:\n{stderr}"
)
# check that the subprocess actually did run and produced some output, should the test rely on
......
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