[ 
https://issues.apache.org/jira/browse/SLING-9353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexei Krainiouk updated SLING-9353:
------------------------------------
    Description: 
The problem is that all exception thrown by installPackage are caught in
 
[ContentPackageExtractor.handle(...)|https://github.com/apache/sling-org-apache-sling-distribution-journal]
 method and turned into DistributionException.
However the [code responsible for 
reporting|https://github.com/apache/sling-org-apache-sling-distribution-journal]
 replication failures is not set to catch DistributionException

The fix is submitted in this pull request: 
https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/27

  was:
The problem is that all exception thrown by installPackage are caught in
 
[ContentPackageExtractor.handle(...)|https://github.com/apache/sling-org-apache-sling-distribution-journal]
 method and turned into DistributionException.
However the [code responsible for 
reporting|https://github.com/apache/sling-org-apache-sling-distribution-journal]
 replication failures is not set to catch DistributionException

 

This apparently is the real root cause for 
[SKYOPS-5037|https://jira.corp.adobe.com/browse/SKYOPS-5037] as well.


> Failure to install replication package not accounted for in metrics
> -------------------------------------------------------------------
>
>                 Key: SLING-9353
>                 URL: https://issues.apache.org/jira/browse/SLING-9353
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>            Reporter: Alexei Krainiouk
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The problem is that all exception thrown by installPackage are caught in
>  
> [ContentPackageExtractor.handle(...)|https://github.com/apache/sling-org-apache-sling-distribution-journal]
>  method and turned into DistributionException.
> However the [code responsible for 
> reporting|https://github.com/apache/sling-org-apache-sling-distribution-journal]
>  replication failures is not set to catch DistributionException
> The fix is submitted in this pull request: 
> https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/27



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

Reply via email to