diff --git a/src/server/GameServer.ts b/src/server/GameServer.ts index 9603a10b8..fa4ebfb6c 100644 --- a/src/server/GameServer.ts +++ b/src/server/GameServer.ts @@ -223,7 +223,7 @@ export class GameServer { c.clientID !== client.clientID, ); if (conflicting !== undefined) { - this.log.error("client ids do not match", { + this.log.warn("client ids do not match", { clientID: client.clientID, clientIP: ipAnonymize(client.ip), clientPersistentID: client.persistentID, diff --git a/src/server/Worker.ts b/src/server/Worker.ts index 47a55e559..1a9b6e9fe 100644 --- a/src/server/Worker.ts +++ b/src/server/Worker.ts @@ -574,6 +574,10 @@ async function startMatchmakingPolling(gm: GameManager) { }, 7000); } } catch (error) { + if (error instanceof Error && error.name === "AbortError") { + // Abort is expected if no game is scheduled on this worker. + return; + } log.error(`Error polling lobby:`, error); } },