[hornetq-commits] JBoss hornetq SVN: r8906 - trunk/src/main/org/hornetq/core/filter/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Mar 1 08:58:21 EST 2010


Author: jmesnil
Date: 2010-03-01 08:58:21 -0500 (Mon, 01 Mar 2010)
New Revision: 8906

Modified:
   trunk/src/main/org/hornetq/core/filter/impl/FilterImpl.java
Log:
log the filter when parsing it fails

Modified: trunk/src/main/org/hornetq/core/filter/impl/FilterImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/filter/impl/FilterImpl.java	2010-02-27 00:01:24 UTC (rev 8905)
+++ trunk/src/main/org/hornetq/core/filter/impl/FilterImpl.java	2010-03-01 13:58:21 UTC (rev 8906)
@@ -107,7 +107,7 @@
       }
       catch (Throwable e)
       {
-         FilterImpl.log.error("Invalid filter", e);
+         FilterImpl.log.error("Invalid filter: " + str, e);
 
          throw new HornetQException(HornetQException.INVALID_FILTER_EXPRESSION, "Invalid filter: " + sfilterString);
       }



More information about the hornetq-commits mailing list