mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 17:03:38 +00:00
Added uncaughtException event
This commit is contained in:
7
src/client/events/uncaughtException.js
Normal file
7
src/client/events/uncaughtException.js
Normal file
@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
name: 'uncaughtException',
|
||||
execute(client, error) {
|
||||
console.log(error.stack);
|
||||
process.emit('SIGINT');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user