mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-02 08:15:56 +01:00
better error handling
This commit is contained in:
@@ -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})`));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user