Don't throw on timeouts during client connection.

Summary: Timeout exceptions while connection to new clients where rethrown but catched nowhere. Probably this warning should be handled more gracefully, but this at least moves it to warn rather than spawning our monitoring on transient issues

Reviewed By: passy, antonk52

Differential Revision: D47665050

fbshipit-source-id: ad51808d12e9f4de318d4426933ecb3787839b7c
This commit is contained in:
Michel Weststrate
2023-07-21 04:18:02 -07:00
committed by Facebook GitHub Bot
parent 7c2face10c
commit af5b9532ec

View File

@@ -366,7 +366,7 @@ export async function handleClientConnected(
);
return;
}
throw e;
console.warn(`[conn] Failed to handle client connected: ${e}`);
}
}