git-hulk commented on code in PR #1928:
URL: https://github.com/apache/kvrocks/pull/1928#discussion_r1420405257


##########
src/server/redis_connection.cc:
##########
@@ -393,7 +393,7 @@ void Connection::ExecuteCommands(std::deque<CommandTokens> 
*to_process_cmds) {
       s = srv_->cluster->CanExecByMySelf(attributes, cmd_tokens, this);
       if (!s.IsOK()) {
         if (is_multi_exec) multi_error_ = true;
-        Reply(redis::Error("ERR " + s.Msg()));
+        Reply(redis::Error(s.Msg()));

Review Comment:
   Yes, @enjoy-binbin also mentioned this before. It's unclear when the "ERR" 
prefix is needed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to