diff options
Diffstat (limited to 'src/replication.c')
-rwxr-xr-x | src/replication.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/replication.c b/src/replication.c index 9e2aed268..0a4321095 100755 --- a/src/replication.c +++ b/src/replication.c @@ -758,7 +758,9 @@ void syncWithMaster(aeEventLoop *el, int fd, void *privdata, int mask) { if (aeCreateFileEvent(server.el,fd, AE_READABLE,readSyncBulkPayload,NULL) == AE_ERR) { - redisLog(REDIS_WARNING,"Can't create readable event for SYNC"); + redisLog(REDIS_WARNING, + "Can't create readable event for SYNC: %s (fd=%d)", + strerror(errno),fd); goto error; } |