Skip to content

Commit

Permalink
fix: throw back the error again
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Jul 9, 2023
1 parent 89104c8 commit 3ae7187
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ipc/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ export class Main extends BaseIpc {
break;
}
case ClientEvents.REQUEST_IDENTIFY:
await this.manager.concurrencyManager!
.waitForIdentify(content.data.shardId)
.catch(() => this.manager.emit(LibraryEvents.DEBUG, `Shard ${content.data.shardId} identify request was aborted by the ws manager. Re-queuing...`));
await this.manager.concurrencyManager!.waitForIdentify(content.data.shardId);
message.reply(null);
break;
case ClientEvents.CANCEL_IDENTIFY:
Expand Down

0 comments on commit 3ae7187

Please sign in to comment.