From e69842ae986f3e822caf9a45aaf656ea832dbf51 Mon Sep 17 00:00:00 2001 From: Deivu Date: Tue, 11 Jul 2023 15:38:13 +0800 Subject: [PATCH] fix: remove the ! --- src/concurrency/ConcurrencyClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }