diff options
Diffstat (limited to 'src/networking.c')
-rw-r--r-- | src/networking.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/networking.c b/src/networking.c index 343a910e2..1ef27815a 100644 --- a/src/networking.c +++ b/src/networking.c @@ -371,6 +371,8 @@ void addReplyErrorLength(client *c, const char *s, size_t len) { addReplyString(c,"-ERR ",5); addReplyString(c,s,len); addReplyString(c,"\r\n",2); + if (c->flags & CLIENT_MASTER) + serverLog(LL_WARNING,"Error sent to master: %s", s); } void addReplyError(client *c, const char *err) { |