Skip to content

Commit 6220ad9

Browse files
committed
Remove stdout/sterr from user error message
The user doesn't need to see the full output, if they truly need it, they can consult the extensions output and otherwise the user may be overloaded with output.
1 parent ebb343f commit 6220ad9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hlsBinaries.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ async function callAsync(
147147
if (stdout) {
148148
logger.error(`stdout: ${stdout}`);
149149
}
150-
reject(Error(`${command} exited with exit code ${err.code}:\n${stdout}\n${stderr}`));
150+
reject(Error(`\`${command}\` exited with exit code ${err.code}.
151+
Consult the [Extensions Output](https://github.com/haskell/vscode-haskell#investigating-and-reporting-problems)
152+
for details.`));
151153
} else {
152154
resolve(stdout?.trim());
153155
}

0 commit comments

Comments
 (0)