Skip to content

Commit

Permalink
Merge pull request #42617 from gsmet/management-failure-add-host-port
Browse files Browse the repository at this point in the history
Add host and port when error creating management interface
  • Loading branch information
gastaldi authored Aug 19, 2024
2 parents 6fd31bf + f399671 commit c4e2379
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ private static CompletableFuture<HttpServer> initializeManagementInterface(Vertx
.listen(ar -> {
if (ar.failed()) {
managementInterfaceFuture.completeExceptionally(
new IllegalStateException("Unable to start the management interface", ar.cause()));
new IllegalStateException("Unable to start the management interface on "
+ httpManagementServerOptions.getHost() + ":"
+ httpManagementServerOptions.getPort(), ar.cause()));
} else {
if (httpManagementServerOptions.isSsl()
&& (managementConfig.ssl.certificate.reloadPeriod.isPresent())) {
Expand Down

0 comments on commit c4e2379

Please sign in to comment.