You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2014/11/17 08:47:33 UTC

[jira] [Commented] (SLING-4175) Sightly: Do not catch exceptions in ResourceRuntimeExtension and IncludeRuntimeException

    [ https://issues.apache.org/jira/browse/SLING-4175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214388#comment-14214388 ] 

Konrad Windszus commented on SLING-4175:
----------------------------------------

The according lines in code are https://github.com/apache/sling/blob/trunk/contrib/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/engine/extension/ResourceRuntimeExtension.java#L229 and  https://github.com/apache/sling/blob/trunk/contrib/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/engine/extension/IncludeRuntimeExtension.java#L121

> Sightly: Do not catch exceptions in ResourceRuntimeExtension and IncludeRuntimeException
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-4175
>                 URL: https://issues.apache.org/jira/browse/SLING-4175
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Konrad Windszus
>              Labels: Sightly
>
> Currently all exceptions being thrown during the execution of data-sly-include and data-sly-resource are caught and only logged.
> Instead those exceptions should be just wrapped (to ease debugging during development) and also to be consistent with {{sling:call}} (SLING-3459).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)