NO-JIRA Adding more information on exception to track failing tests

This commit is contained in:
Clebert Suconic 2023-03-07 21:17:06 -05:00
parent dc93f01542
commit 3032bb9b0f
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ public class AMQPBrokerConnection implements ClientConnectionLifeCycleListener,
}
if (addressInfo.getRoutingType() != RoutingType.ANYCAST) {
throw new IllegalArgumentException("sourceMirrorAddress is not ANYCAST");
throw new IllegalArgumentException(addressInfo.getName() + " has " + addressInfo.getRoutingType() + " instead of ANYCAST");
}
Queue mirrorControlQueue = server.locateQueue(getMirrorSNF(replicaConfig));