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 98f3cc6 SLING-8415 - throw upon catching interrupted exception
98f3cc6 is described below
commit 98f3cc6d3122b6d86220c3ff3b26c26ff8f9102e
Author: tmaret <[email protected]>
AuthorDate: Sat May 11 21:29:45 2019 +0200
SLING-8415 - throw upon catching interrupted exception
---
.../sling/distribution/journal/impl/subscriber/StagingPrecondition.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/StagingPrecondition.java
b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/StagingPrecondition.java
index 016c1d2..57c24e6 100644
---
a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/StagingPrecondition.java
+++
b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/StagingPrecondition.java
@@ -91,7 +91,7 @@ public class StagingPrecondition implements Precondition {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
-
+ throw new IllegalStateException("Precondition evaluation
has been interrupted");
}
}
}