Compare commits

...

1 commit

Author SHA1 Message Date
Nick Genovese
a95356a9fd fix: Lower log level for client disconnect and missing client
Changed log severity from Error/Warning to Debug for client
disconnect and missing client events to reduce log noise.
2026-05-01 10:05:57 -04:00

View file

@ -1448,14 +1448,15 @@ namespace PepperDash.Essentials.WebSocketServer
if (!socket.IsAlive)
{
this.LogError("Unable to send message to client {id}. Client is disconnected: {message}", clientId, message);
this.LogDebug("Unable to send message to client {id}. Client is disconnected: {message}", clientId, message);
return;
}
socket.Send(message);
}
else
{
this.LogWarning("Unable to find client with ID: {clientId}", clientId);
this.LogDebug("Unable to find client with ID: {clientId}", clientId);
}
}
}