Skip to content

Commit

Permalink
fix: remove the !
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Jul 11, 2023
1 parent 495dd86 commit e69842a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/ConcurrencyClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e69842a

Please sign in to comment.