Skip to content

Commit

Permalink
Add host and port when error creating management interface
Browse files Browse the repository at this point in the history
Fixes #42614
  • Loading branch information
gsmet committed Aug 19, 2024
1 parent 87d3c30 commit f399671
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 f399671

Please sign in to comment.