Change the unregistered connection logline to debug level (#1494)

This commit is contained in:
Miguel de la Cruz 2021-10-08 11:59:21 +02:00 committed by GitHub
parent fa6b486572
commit a184206395
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ func (pa *PluginAdapter) OnWebSocketConnect(webConnID, userID string) {
func (pa *PluginAdapter) OnWebSocketDisconnect(webConnID, userID string) {
pac, ok := pa.GetListenerByWebConnID(webConnID)
if !ok {
pa.api.LogError("received a disconnect for an unregistered webconn",
pa.api.LogDebug("received a disconnect for an unregistered webconn",
"webConnID", webConnID,
"userID", userID,
)