mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
Update uncaughtException event
This commit is contained in:
parent
bda70e7cf7
commit
22c45cb590
@ -5,6 +5,7 @@ export default function uncaughtException(client: RadioClient, error: Error) {
|
||||
console.log(error.stack);
|
||||
console.log('');
|
||||
|
||||
console.log(error.name + "/" + error.message);
|
||||
if(error.name == "DiscordAPIError" && error.message == "Unknown interaction") return;
|
||||
process.emit('SIGINT');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user