From 7a3de7693bb97e63e01772e42fb6712cbb2679c7 Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Tue, 14 Nov 2006 06:27:34 +0000 Subject: [PATCH] log the the exception if an exception caught in rotating the consumers git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474674 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/broker/region/policy/RoundRobinDispatchPolicy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java b/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java index 5231dbfa7a..834f6e77a5 100755 --- a/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java @@ -68,7 +68,7 @@ public class RoundRobinDispatchPolicy implements DispatchPolicy { try { consumers.add(consumers.remove(0)); } catch (Throwable bestEffort) { - log.error("Caught error rotating consumers"); + log.error("Caught error rotating consumers",bestEffort); } return count > 0; }