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. (#22065)

(cherry picked from commit baddda5)
  • Loading branch information
liangyepianzhou authored and heesung-sn committed Feb 28, 2024
1 parent 750547b commit 71022f5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,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 71022f5

Please sign in to comment.