We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24dd92c commit 8ea2677Copy full SHA for 8ea2677
src/main/java/com/rabbitmq/client/amqp/impl/AmqpManagement.java
@@ -122,7 +122,9 @@ public QueueInfo queueInfo(String name) {
122
Map<String, Object> queueInfo = get(queueLocation(name)).responseBodyAsMap();
123
return new DefaultQueueInfo(queueInfo);
124
} catch (ClientException e) {
125
- throw new AmqpException("Error while fetching queue '%s' information", name);
+ String message = String.format("Error while fetching information for queue '%s'", name);
126
+ LOGGER.debug(message, e);
127
+ throw ExceptionUtils.convert(e, message);
128
}
129
130
0 commit comments