szetszwo commented on code in PR #1124: URL: https://github.com/apache/ratis/pull/1124#discussion_r1680192656
########## 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: @weimingdiit , thanks for working on this! The space should be after the comma, i.e. `", suggested ..."`. -- 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: issues-unsubscr...@ratis.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org