velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r724739 - /velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
Date Tue, 09 Dec 2008 15:11:42 GMT
Author: nbubna
Date: Tue Dec  9 07:11:42 2008
New Revision: 724739

URL: http://svn.apache.org/viewvc?rev=724739&view=rev
Log:
VELOCITY-653 remove redundant error msg (thx to Byron Foster)

Modified:
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java?rev=724739&r1=724738&r2=724739&view=diff
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
(original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
Tue Dec  9 07:11:42 2008
@@ -301,13 +301,6 @@
         }
         catch(MethodInvocationException mie)
         {
-            /*
-             *  someone tossed their cookies
-             */
-
-            log.error("Method " + mie.getMethodName()
-                      + " threw exception for reference $" + rootString + " in "
-                      + Log.formatFileString(this));
             mie.setReferenceName(rootString);
             throw mie;
         }



Mime
View raw message