Skip to content

Commit 282b9ce

Browse files
avoid handling generic exceptions
1 parent 846e432 commit 282b9ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module/schedule/src/main/java/org/openbase/jul/schedule/AbstractSynchronizationFuture.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private T waitForSynchronization(final T message, final long timeout, final Time
113113
try {
114114
try {
115115
beforeWaitForSynchronization(message);
116-
} catch (final Exception ex) {
116+
} catch (final CouldNotPerformException ex) {
117117
throw new CouldNotPerformException("Pre execution task failed!", ex);
118118
}
119119

0 commit comments

Comments
 (0)