Skip to content

Commit 6626377

Browse files
Use a simpler generic log message
1 parent b3ab462 commit 6626377

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)