better error handling

This commit is contained in:
Johannes
2026-02-03 12:46:04 +01:00
parent 35f4232d25
commit ebe5d39c37

View File

@@ -175,7 +175,7 @@ function runEsbuildBundle(outDir: string, minify: boolean, nls: boolean, target:
if (code === 0) {
resolve();
} else {
reject(new Error(`esbuild bundle failed with exit code ${code}`));
reject(new Error(`esbuild bundle failed with exit code ${code} (outDir: ${outDir}, minify: ${minify}, nls: ${nls}, target: ${target})`));
}
});
});