deliveredtechnologies / rulebook

100% Java, Lambda Enabled, Lightweight Rules Engine with a Simple and Intuitive DSL
http://www.deliveredtechnologies.com
Apache License 2.0
716 stars 124 forks source link

RuleStatus should be different than PENDING when RuleChainActionType.ERROR_ON_FAILURE #164

Closed harshavs closed 5 years ago

harshavs commented 5 years ago

When RuleChainActionType.ERROR_ON_FAILURE is enabled and a rule fails, the RuleStatus is still PENDING. A meaningful status like ERROR is very helpful to find the Rule that errored out. Currently, the rule that errored out and all other rules after it have PENDING as status, making it difficult to debug.