Skip to content

Commit f67a2c7

Browse files
committed
Merge pull request #45 from dcrissman/update-error-message
update error message
2 parents fb41e9c + 54bb298 commit f67a2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightblue-ldap-config/src/main/java/com/redhat/lightblue/config/ldap/LdapDataSourceConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void initializeFromJson(JsonNode node) {
110110
}
111111
else{
112112
throw new IllegalArgumentException("Unable to parse 'servers' for ldap database " + databaseName
113-
+ ". Must be an instance of an array.");
113+
+ ". Must be an instance of an array and must contain at least one entry with a host and port.");
114114
}
115115

116116
String[] hosts = hostPortMap.keySet().toArray(new String[0]);

0 commit comments

Comments
 (0)