Konrad Windszus created SLING-10109:
---------------------------------------

             Summary: Exception is swallowed in Bookkeeper.failure(...)
                 Key: SLING-10109
                 URL: https://issues.apache.org/jira/browse/SLING-10109
             Project: Sling
          Issue Type: Improvement
          Components: Content Distribution
    Affects Versions: Content Distribution Journal Core 0.1.16
            Reporter: Konrad Windszus


The exception passed to 
https://github.com/apache/sling-org-apache-sling-distribution-journal/blob/66cc5c4b867a6a66963a2ebdd5118f7de91adbee/src/main/java/org/apache/sling/distribution/journal/bookkeeper/BookKeeper.java#L195
 is not logged completely.

I have seen messages like this

{code}
30.01.2021 23:21:45.646 [cm-p7802-e44859-aem-author-6df8bd79d7-q2jhs] *WARN* 
[EventAdminAsyncThread #4] 
org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher 
[null] Error processing distribution package 
dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts 
0/infinite. Message: Error trying to extract package at path 
/etc/packages/mypackage-1.0.0-SNAPSHOT.zip
30.01.2021 23:21:45.646 [cm-p7802-e44859-aem-author-6df8bd79d7-c9vdj] *WARN* 
[EventAdminAsyncThread #10] 
org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher 
[null] Error processing distribution package 
dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts 
0/infinite. Message: Error trying to extract package at path 
/etc/packages/mypackage-1.0.0-SNAPSHOT.zip
30.01.2021 23:21:50.826 [cm-p7802-e44859-aem-author-6df8bd79d7-c9vdj] *WARN* 
[EventAdminAsyncThread #6] 
org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher 
[null] Error processing distribution package 
dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts 
1/infinite. Message: Error trying to extract package at path 
/etc/packages/mypackage--1.0.0-SNAPSHOT.zip
30.01.2021 23:21:50.835 [cm-p7802-e44859-aem-author-6df8bd79d7-q2jhs] *WARN* 
[EventAdminAsyncThread #7] 
org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher 
[null] Error processing distribution package 
dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts 
1/infinite. Message: Error trying to extract package at path 
/etc/packages/mypackage-1.0.0-SNAPSHOT.zip
{code}

Although the message of the underlying exception is logged, this does not help 
much as its cause is swallowed.



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

Reply via email to