From c0bdf0eb732f9d3054dd1b43cf1aa54e8e4bf026 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 15 Jan 2020 17:55:24 +0100 Subject: [PATCH] Change error message for #6775. --- src/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.c b/src/server.c index 3f64aaec9..2b226f568 100644 --- a/src/server.c +++ b/src/server.c @@ -3499,8 +3499,8 @@ int processCommand(client *c) { c->cmd->proc != psubscribeCommand && c->cmd->proc != punsubscribeCommand) { addReplyErrorFormat(c, - "'%s' command submitted, but only (P)SUBSCRIBE / " - "(P)UNSUBSCRIBE / PING / QUIT allowed in this context", + "Can't execute '%s': only (P)SUBSCRIBE / " + "(P)UNSUBSCRIBE / PING / QUIT are allowed in this context", c->cmd->name); return C_OK; }