Skip to content
Browse files

Cluster: log error when anetTcpNonBlockBindConnect() fails.

  • Loading branch information...
1 parent 3b0edb8 commit 3e8a92ef8d93e50ac57e688ebd68838437921f27 @antirez committed Mar 10, 2014
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/cluster.c
View
5 src/cluster.c
@@ -2411,8 +2411,9 @@ void clusterCron(void) {
node->port+REDIS_CLUSTER_PORT_INCR, server.bindaddr[0]);
if (fd == -1) {
redisLog(REDIS_DEBUG, "Unable to connect to "
- "Cluster Client [%s]:%d", node->ip,
- node->port+REDIS_CLUSTER_PORT_INCR);
+ "Cluster Node [%s]:%d -> %s", node->ip,
+ node->port+REDIS_CLUSTER_PORT_INCR,
+ server.neterr);
continue;
}
link = createClusterLink(node);

0 comments on commit 3e8a92e

Please sign in to comment.
Something went wrong with that request. Please try again.