[safe-condition]: Catch only RuntimeException on evaluate

pull/112/head
David Belmez 7 years ago
parent 64a61b933f
commit 212a41a03e

@ -152,7 +152,7 @@ public final class DefaultRulesEngine implements RulesEngine {
}
continue;
}
} catch (final Exception exception) {
} catch (final RuntimeException exception) {
triggerListenersOnEvaluateFailure(rule, exception, facts);
if (parameters.isSkipOnFirstFailedRule()) {
LOGGER.info("Next rules will be skipped since parameter skipOnFirstFailedRule is set");

Loading…
Cancel
Save