1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-14 18:02:58 +00:00

Updated docs

This commit is contained in:
JKorf
2024-02-25 14:54:33 +01:00
parent fe3a0afd6c
commit cda1cce495
4 changed files with 9 additions and 5 deletions
@@ -407,7 +407,10 @@ namespace CryptoExchange.Net.Sockets
{
if (!ApiClient.UnhandledMessageExpected)
{
_logger.LogWarning("[Sckt {SocketId}] received message not matched to any listener. ListenId: {ListenId}", SocketId, listenId);
List<string> listenerIds;
lock (_listenersLock)
listenerIds = _listeners.SelectMany(l => l.ListenerIdentifiers).ToList();
_logger.LogWarning("[Sckt {SocketId}] received message not matched to any listener. ListenId: {ListenId}, current listeners: {ListenIds}", SocketId, listenId, listenerIds);
UnhandledMessage?.Invoke(_accessor);
}