Not clearing up a previous client connection should not log as error

Summary:
^
This doesn't seem a functionality impairment and there's no actionable items.

Reviewed By: lawrencelomax

Differential Revision: D34787962

fbshipit-source-id: 9fe42187456bfab3748d469860f6ed7cda2f83d5
This commit is contained in:
Lorenzo Blasa
2022-03-10 08:26:04 -08:00
committed by Facebook GitHub Bot
parent 28fbe7f11c
commit f8371b19db

View File

@@ -306,7 +306,7 @@ export default (state: State = INITAL_STATE, action: Actions): State => {
return produce(state, (draft) => {
if (draft.clients.has(payload.id)) {
console.error(
console.warn(
`Received a new connection for client ${payload.id}, but the old connection was not cleaned up`,
);
}