mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:13:17 +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