Konrad Windszus created SLING-9478:
--------------------------------------

             Summary: Expose the full stack trace for PostConstruct exceptions
                 Key: SLING-9478
                 URL: https://issues.apache.org/jira/browse/SLING-9478
             Project: Sling
          Issue Type: Improvement
          Components: Sling Models
    Affects Versions: Sling Models Impl 1.4.12
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus
             Fix For: Sling Models Impl 1.4.14


Currently any InvocationTargetException is swallowed in 
https://github.com/apache/sling-org-apache-sling-models-impl/blob/80b1dea63615ea5be8252241d6147bce9552fa8e/src/main/java/org/apache/sling/models/impl/ModelAdapterFactory.java#L756
 as it is replaced by the more generic PostConstruct exception. The underlying 
exception should be kept as cause.

This has been a regression from SLING-4767 and SLING-5389.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to