mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-10-13 22:34:27 +00:00
Update uncaughtException event
This commit is contained in:
1 parent
36a7b5df63
commit
572958aea2
1 file changed
+1
@@ -5,6 +5,7 @@ module.exports = {
|
||||
console.log(error.stack);
|
||||
console.log('');
|
||||
|
||||
if(error.name == "DiscordAPIError" && error.message == "Unknown interaction") return;
|
||||
process.emit('SIGINT');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user