File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/registry Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ public Application register(Application application) {
58
58
Assert .notNull (application , "Application must not be null" );
59
59
Assert .hasText (application .getName (), "Name must not be null" );
60
60
Assert .hasText (application .getHealthUrl (), "Health-URL must not be null" );
61
- Assert .isTrue (checkUrl (application .getHealthUrl ()), "Health-URL is not valid" );
61
+ Assert .isTrue (checkUrl (application .getHealthUrl ()), "Health-URL is not valid: " + application . getHealthUrl () );
62
62
Assert .isTrue (
63
63
StringUtils .isEmpty (application .getManagementUrl ())
64
- || checkUrl (application .getManagementUrl ()), "URL is not valid" );
64
+ || checkUrl (application .getManagementUrl ()), "URL is not valid: " + application . getManagementUrl () );
65
65
Assert .isTrue (
66
66
StringUtils .isEmpty (application .getServiceUrl ())
67
- || checkUrl (application .getServiceUrl ()), "URL is not valid" );
67
+ || checkUrl (application .getServiceUrl ()), "URL is not valid: " + application . getServiceUrl () );
68
68
69
69
String applicationId = generator .generateId (application );
70
70
Assert .notNull (applicationId , "ID must not be null" );
You can’t perform that action at this time.
0 commit comments