mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/build: improve reporting build errors
This commit is contained in:
@ -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();
|
||||
bundleConfig(config);
|
||||
bundleBinaryAssets();
|
||||
|
Reference in New Issue
Block a user