feat(assist): log uncatched error
This commit is contained in:
parent
8e73d3da9c
commit
ee5184c76d
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ if (process.env.uws !== "true") {
|
|||
|
||||
process.on('uncaughtException', err => {
|
||||
console.log(`Uncaught Exception: ${err.message}`);
|
||||
debug && console.log(err.stack);
|
||||
console.error(err.stack);
|
||||
// process.exit(1);
|
||||
});
|
||||
module.exports = {uapp};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue