Skip to content

Commit 3094744

Browse files
Merge pull request #1929 from rabbitmq/mergify/bp/v5.x/pr-1928
Use a simpler generic log message (backport #1928)
2 parents 45284cb + a6ac7ce commit 3094744

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
@@ -376,7 +376,7 @@ public void setUri(URI uri)
376376
if (userInfo != null) {
377377
String userPass[] = userInfo.split(":");
378378
if (userPass.length > 2) {
379-
throw new IllegalArgumentException("Bad user info in AMQP " + "URI: " + userInfo);
379+
throw new IllegalArgumentException("Bad user info in AMQP URI: user info contains more than one colon");
380380
}
381381

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

0 commit comments

Comments
 (0)