mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 05:00:18 +00:00
Update uncaughtException event
This commit is contained in:
parent
44d81b6fd7
commit
6541287dec
@ -1,7 +1,10 @@
|
||||
module.exports = {
|
||||
name: 'uncaughtException',
|
||||
execute(client, error) {
|
||||
this.funcs.logger("Error");
|
||||
console.log(error.stack);
|
||||
console.log('');
|
||||
|
||||
process.emit('SIGINT');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user