Skip to content

Commit

Permalink
modify log level when expcetion occur.
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Jan 7, 2022
1 parent 74345bb commit d203421
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ void registerSelfToCluster(String groupId, PeerId selfIp, Configuration conf) {
}
Loggers.RAFT.warn("Failed to join the cluster, retry...");
} catch (Exception e) {
Loggers.RAFT.warn("Failed to join the cluster, retry...", e);
Loggers.RAFT.error("Failed to join the cluster, retry...", e);
}
ThreadUtils.sleep(1_000L);
}
Expand Down

0 comments on commit d203421

Please sign in to comment.