incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r1589138 - /sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/CallTag.java
Date Tue, 22 Apr 2014 14:33:03 GMT
Author: justin
Date: Tue Apr 22 14:33:02 2014
New Revision: 1589138

URL: http://svn.apache.org/r1589138
Log:
SLING-3459 - removing unnecessary log of exception. This closes #14. Thanks to Konrad Windszus!

Modified:
    sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/CallTag.java

Modified: sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/CallTag.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/CallTag.java?rev=1589138&r1=1589137&r2=1589138&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/CallTag.java
(original)
+++ sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/CallTag.java
Tue Apr 22 14:33:02 2014
@@ -33,8 +33,6 @@ import org.apache.sling.api.scripting.Sl
 import org.apache.sling.api.servlets.ServletResolver;
 import org.apache.sling.scripting.jsp.util.JspSlingHttpServletResponseWrapper;
 import org.apache.sling.scripting.jsp.util.TagUtil;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
  * The <code>CallTag</code> implements the
@@ -45,11 +43,6 @@ public class CallTag extends TagSupport 
     private static final long serialVersionUID = 5446209582533607741L;
 
     /**
-     * default logger
-     */
-    private static final Logger log = LoggerFactory.getLogger(CallTag.class);
-
-    /**
      * jsp script
      */
     private String script;
@@ -136,9 +129,7 @@ public class CallTag extends TagSupport 
 
         } catch (Exception e) {
 
-            log.error("Error while executing script " + script, e);
             throw new JspException("Error while executing script " + script, e);
-
         }
     }
     



Mime
View raw message