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
This commit is contained in:
Robert Davies 2006-11-14 06:27:34 +00:00
parent 2d64943d45
commit 7a3de7693b
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class RoundRobinDispatchPolicy implements DispatchPolicy {
try { try {
consumers.add(consumers.remove(0)); consumers.add(consumers.remove(0));
} catch (Throwable bestEffort) { } catch (Throwable bestEffort) {
log.error("Caught error rotating consumers"); log.error("Caught error rotating consumers",bestEffort);
} }
return count > 0; return count > 0;
} }