Skip to content

Commit 5c5a0fa

Browse files
committed
fix: expose error to outer
1 parent 2933d57 commit 5c5a0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/installer/minecraft.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ export function postProcessTask(processors: InstallProfile["processors"], minecr
552552
try {
553553
await spawnProcess(java, cmd);
554554
} catch (e) {
555-
throw new Error(`Fail on execute processor ${proc.jar}: ${JSON.stringify(cmd)}`);
555+
throw new Error(`Fail on execute processor ${proc.jar}: ${JSON.stringify(cmd)}\n stderr: ${e}`)
556556
}
557557
let failed = false;
558558
if (proc.outputs) {

0 commit comments

Comments
 (0)