Skip to content

Commit 311ba46

Browse files
author
Mark
committed
fixed exception message
1 parent 5dc6630 commit 311ba46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/arangodb/internal/InternalArangoDB.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected static void loadHosts(final Properties properties, final Collection<Ho
7575
final String[] split = host.split(":");
7676
if (split.length != 2 || !split[1].matches("[0-9]+")) {
7777
throw new ArangoDBException(String.format(
78-
"Could not load property-value arangodb.hosts=%s. Expected format host:ip,host:ip,...",
78+
"Could not load property-value arangodb.hosts=%s. Expected format ip:port,ip:port,...",
7979
hostsProp));
8080
} else {
8181
hosts.add(new Host(split[0], Integer.valueOf(split[1])));

0 commit comments

Comments
 (0)