diff --git a/src/client/events/uncaughtException.ts b/src/client/events/uncaughtException.ts index 78c1002..de55efa 100644 --- a/src/client/events/uncaughtException.ts +++ b/src/client/events/uncaughtException.ts @@ -5,7 +5,6 @@ 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; + if(error.name == "DiscordAPIError[10062]" && error.message == "Unknown interaction") return; process.emit('SIGINT'); }