diff --git a/client/build.js b/client/build.js index 74655055..e1792a75 100644 --- a/client/build.js +++ b/client/build.js @@ -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();