[
https://issues.apache.org/jira/browse/SLING-8374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothee Maret reassigned SLING-8374:
-------------------------------------
Assignee: Timothee Maret
> Missing out exceptions in catch clause in DistributionSubscriber class
> ----------------------------------------------------------------------
>
> Key: SLING-8374
> URL: https://issues.apache.org/jira/browse/SLING-8374
> Project: Sling
> Issue Type: Bug
> Components: Content Distribution
> Affects Versions: Content Distribution Journal Core 0.1.0
> Reporter: Alexei Krainiouk
> Assignee: Timothee Maret
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> InĀ
> [DistributionSubscriber.importPackage|https://github.com/apache/sling-org-apache-sling-distribution-journal/blob/master/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java#L690]
> method. catch (Exception e) should be replaced with catch (Throwable e) in
> order to count all possible errors in failedPackageImports metric.
> This pull request provides fixes for above issues:
> https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/4
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)