diff --git a/src/concurrency/ConcurrencyClient.ts b/src/concurrency/ConcurrencyClient.ts index 3b1ac66..eb1d40a 100644 --- a/src/concurrency/ConcurrencyClient.ts +++ b/src/concurrency/ConcurrencyClient.ts @@ -26,7 +26,7 @@ export class ConcurrencyClient { } catch (error: any) { // only throw the error when it's an invoked abort ident from ws package // will be removed once https://github.com/discordjs/discord.js/issues/9688 is resolved - if (!error.message.includes('aborted the identify')) throw error; + if (error.message.includes('aborted the identify')) throw error; } finally { signal.removeEventListener('abort', listener); }