Skip to content

Commit

Permalink
[improve][broker] Add an error log to troubleshoot the failure of sta…
Browse files Browse the repository at this point in the history
…rting broker registry. (apache#22065)
  • Loading branch information
liangyepianzhou authored Feb 18, 2024
1 parent fc2e314 commit baddda5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ public void start() throws PulsarServerException {
this.initWaiter.countDown();
this.started = true;
} catch (Exception ex) {
log.error("Failed to start the extensible load balance and close broker registry {}.",
this.brokerRegistry, ex);
if (this.brokerRegistry != null) {
brokerRegistry.close();
}
Expand Down

0 comments on commit baddda5

Please sign in to comment.