Skip to content

Commit 1d1a579

Browse files
authored
Merge pull request #556 from fendor/fix/async-cmd-error-message
Remove stdout/sterr from user error message
2 parents ebb343f + 6220ad9 commit 1d1a579

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)