client/build: improve reporting build errors
This commit is contained in:
parent
3d122441a2
commit
3436bc3ef8
|
@ -213,6 +213,13 @@ function bundleBinaryAssets() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
process.on('uncaughtException', (error) => {
|
||||||
|
const stack = error.stack;
|
||||||
|
delete error.stack;
|
||||||
|
console.log(error);
|
||||||
|
console.log(stack);
|
||||||
|
});
|
||||||
|
|
||||||
const config = getConfig();
|
const config = getConfig();
|
||||||
bundleConfig(config);
|
bundleConfig(config);
|
||||||
bundleBinaryAssets();
|
bundleBinaryAssets();
|
||||||
|
|
Loading…
Reference in New Issue