Skip to content

Commit 7f01763

Browse files
Merge pull request #1928 from rabbitmq/rabbitmq-java-client-1924
Use a simpler generic log message
2 parents b3ab462 + 6626377 commit 7f01763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public ConnectionFactory setUri(URI uri)
373373
if (userInfo != null) {
374374
String userPass[] = userInfo.split(":");
375375
if (userPass.length > 2) {
376-
throw new IllegalArgumentException("Bad user info in AMQP " + "URI: " + userInfo);
376+
throw new IllegalArgumentException("Bad user info in AMQP URI: user info contains more than one colon");
377377
}
378378

379379
setUsername(uriDecode(userPass[0]));

0 commit comments

Comments
 (0)