1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-17 11:23:00 +00:00

Updated logging unmatched websocket message

This commit is contained in:
Jkorf
2026-02-09 16:29:24 +01:00
parent abda065237
commit 63f51811a9
2 changed files with 11 additions and 9 deletions
@@ -663,8 +663,7 @@ namespace CryptoExchange.Net.Sockets.Default
{
complete = true;
break;
}
}
}
if (complete)
@@ -676,8 +675,11 @@ namespace CryptoExchange.Net.Sockets.Default
{
lock (_listenersLock)
{
_logger.ReceivedMessageNotMatchedToAnyListener(SocketId, topicFilter!,
string.Join(",", _listeners.Select(x => string.Join(",", x.MessageRouter.Routes.Select(x => x.TopicFilter != null ? string.Join(",", x.TopicFilter) : "[null]")))));
_logger.ReceivedMessageNotMatchedToAnyListener(
SocketId,
typeIdentifier,
topicFilter!,
string.Join(",", _listeners.Select(x => string.Join(",", x.MessageRouter.Routes.Where(x => x.TypeIdentifier == typeIdentifier).Select(x => x.TopicFilter != null ? string.Join(",", x.TopicFilter) : "[null]")))));
}
}
}