incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r791736 - /sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
Date Tue, 07 Jul 2009 07:46:15 GMT
Author: cziegeler
Date: Tue Jul  7 07:46:15 2009
New Revision: 791736

URL: http://svn.apache.org/viewvc?rev=791736&view=rev
Log:
SLING-1035 - Directly rethrow SlingException.

Modified:
    sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java

Modified: sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java?rev=791736&r1=791735&r2=791736&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
(original)
+++ sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
Tue Jul  7 07:46:15 2009
@@ -230,7 +230,11 @@
             logScriptError(request, see);
 
             throw see;
+        } catch (SlingException e) {
+            // log in the request progress tracker
+            logScriptError(request, e);
 
+            throw e;
         } catch (Exception e) {
 
             // log in the request progress tracker



Mime
View raw message