Skip to content

Commit e5a91d0

Browse files
committed
Use full property name in error message.
1 parent 87ac574 commit e5a91d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/registration/DefaultApplicationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected String getServiceBaseUrl() {
9595
}
9696

9797
if (getLocalServerPort() == null) {
98-
throw new IllegalStateException("couldn't determine local port. Please supply service-base-url.");
98+
throw new IllegalStateException("couldn't determine local port. Please set spring.boot.admin.client.instance.service-base-url.");
9999
}
100100

101101
return UriComponentsBuilder.newInstance()

0 commit comments

Comments
 (0)