Skip to content

Commit

Permalink
[ISSUE #8777] enhance error log when when can't connect to namesrv addrs
Browse files Browse the repository at this point in the history
  • Loading branch information
juhuan committed Sep 30, 2024
1 parent 551c8c3 commit abba5c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,8 @@ public boolean updateTopicRouteInfoFromNameServer(final String topic, boolean is
log.warn("updateTopicRouteInfoFromNameServer Exception", e);
}
} catch (RemotingException e) {
log.error("updateTopicRouteInfoFromNameServer Exception", e);
throw new IllegalStateException(e);
log.error("updateTopicRouteInfoFromNameServer Exception, namesrvAddr: " + clientConfig.getNamesrvAddr(), e);
throw new IllegalStateException("updateTopicRouteInfoFromNameServer Exception, namesrvAddr: " + clientConfig.getNamesrvAddr(), e);
} finally {
this.lockNamesrv.unlock();
}
Expand Down

0 comments on commit abba5c3

Please sign in to comment.