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

Konrad Windszus commented on SLING-5087:
----------------------------------------

As creating exceptions is expensive I would prefer being able to switch it off 
(for production servers).

> The ResourceResolverImpl should provide a stack trace when CRUD operations 
> are performed with a closed resolver
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-5087
>                 URL: https://issues.apache.org/jira/browse/SLING-5087
>             Project: Sling
>          Issue Type: Improvement
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.2.6
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>             Fix For: Resource Resolver 1.2.8
>
>
> Currently trying to use a closed resource resolver for CRUD operations will 
> throw a {{java.lang.IllegalStateException}}. However, it would also be useful 
> to log where the resolver was closed, to help debugging.



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

Reply via email to