mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 10:33:18 +00:00
Update uncaughtException event
This commit is contained in:
parent
44d81b6fd7
commit
6541287dec
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user