Compare commits
2 Commits
61cffae9ca
...
123c73cfc6
| Author | SHA1 | Date | |
|---|---|---|---|
| 123c73cfc6 | |||
| 79c5f4cd27 |
@@ -249,7 +249,7 @@ export async function pcexec(
|
||||
command: finalCommand,
|
||||
});
|
||||
} else {
|
||||
const error = new Error(`Command failed: ${command}`) as PcExecError;
|
||||
const error = new Error(`Command failed: ${command}\n${stderr}`) as PcExecError;
|
||||
error.code = code ?? undefined;
|
||||
error.signal = signal ?? undefined;
|
||||
error.stdout = sanitizedStdout;
|
||||
|
||||
Reference in New Issue
Block a user