You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2019/04/26 20:09:00 UTC
[jira] [Resolved] (SLING-8374) Missing out exceptions in catch
clause in DistributionSubscriber class
[ https://issues.apache.org/jira/browse/SLING-8374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothee Maret resolved SLING-8374.
-----------------------------------
Resolution: Fixed
Fix Version/s: Content Distribution Journal Core 0.1.2
> 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
> Fix For: Content Distribution Journal Core 0.1.2
>
> 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)