Update uncaughtException event

This commit is contained in:
Christer Warén 2021-09-10 01:43:21 +03:00
parent 44d81b6fd7
commit 6541287dec

View File

@ -1,7 +1,10 @@
module.exports = { module.exports = {
name: 'uncaughtException', name: 'uncaughtException',
execute(client, error) { execute(client, error) {
this.funcs.logger("Error");
console.log(error.stack); console.log(error.stack);
console.log('');
process.emit('SIGINT'); process.emit('SIGINT');
} }
} }