weimingdiit commented on code in PR #1124:
URL: https://github.com/apache/ratis/pull/1124#discussion_r1683734431


##########
ratis-common/src/main/java/org/apache/ratis/protocol/exceptions/NotLeaderException.java:
##########
@@ -30,7 +30,7 @@ public class NotLeaderException extends RaftException {
   private final Collection<RaftPeer> peers;
 
   public NotLeaderException(RaftGroupMemberId memberId, RaftPeer 
suggestedLeader, Collection<RaftPeer> peers) {
-    super("Server " + memberId + " is not the leader" + (suggestedLeader != 
null? " " + suggestedLeader: ""));
+    super("Server " + memberId + " is not the leader" + (suggestedLeader != 
null ? " ,suggested leader is: " + suggestedLeader : ""));

Review Comment:
   @szetszwo Ok,i will update  it



-- 
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