You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_logger.LogWarning($"Connection {connectionId} not found in routing table");
282
+
_logger.LogWarning($"Connection {connectionId} not found in routing table and query returned no result. Available connections in routing table: {_connectionRoutes.Count}");
_logger.LogDebug($"Forwarded message for connection {connectionId} to node {targetNodeId}");
337
+
_logger.LogDebug($"Successfully forwarded message for connection {connectionId} to node {targetNodeId}");
328
338
returntrue;
329
339
}
330
340
catch(Exceptionex)
331
341
{
332
-
_logger.LogError(ex,$"Failed to forward message for connection {connectionId} to node {targetNodeId}");
342
+
_logger.LogError(ex,$"Failed to forward message for connection {connectionId} to node {targetNodeId}. Error: {ex.Message}, StackTrace: {ex.StackTrace}");
Copy file name to clipboardExpand all lines: Cyaim.WebSocketServer/Cyaim.WebSocketServer/Infrastructure/Cluster/Transports/WebSocketClusterTransport.cs
_logger.LogWarning($"Cannot send message to node {nodeId}, connection not available (state: {connection?.State}). Active connections: {_connections.Count}");
342
-
return;
342
+
thrownewInvalidOperationException($"Cannot send message to node {nodeId}, connection not available (state: {connection?.State})");
343
343
}
344
344
345
345
_logger.LogDebug($"Sending {message.Type} message to node {nodeId}");
0 commit comments