This is an automated email from the ASF dual-hosted git repository.

tmaret pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c44179  SLING-9353 - adjusted exception handling so that content 
package installation failures are properly accounted for (#27)
0c44179 is described below

commit 0c4417956d70fe684c2cdf81df8431cbd4c60385
Author: Alexei Krainiouk <[email protected]>
AuthorDate: Fri Apr 10 00:40:12 2020 -0700

    SLING-9353 - adjusted exception handling so that content package 
installation failures are properly accounted for (#27)
---
 .../apache/sling/distribution/journal/impl/subscriber/BookKeeper.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java
 
b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java
index 1c12690..13b2dfc 100644
--- 
a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java
+++ 
b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java
@@ -161,7 +161,7 @@ public class BookKeeper implements Closeable {
             packageRetries.clear(pkgMsg.getPubAgentName());
             Event event = DistributionEvent.eventImporterImported(pkgMsg, 
subAgentName);
             eventAdmin.postEvent(event);
-        } catch (LoginException | IOException | RuntimeException e) {
+        } catch (DistributionException | LoginException | IOException | 
RuntimeException e) {
             failure(pkgMsg, offset, e);
         } finally {
             MDC.clear();

Reply via email to