We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to propose change for error rule execution, so that outgoing error contains rule name. At the moment rule name with error is logged: log.Errorf("Failed testing condition for rule : %s. Got error %v", ruleEntry.RuleName, err) but not returned back from func,
grule-rule-engine/engine/GruleEngine.go
Lines 179 to 183 in 7272ef7
proposed: err = fmt.Errorf("Failed testing condition for rule : %s. Got error %v", ruleEntry.RuleName, err) log.Error(err) if g.ReturnErrOnFailedRuleEvaluation {
return err }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to propose change for error rule execution, so that outgoing error contains rule name. At the moment rule name with error is logged:
log.Errorf("Failed testing condition for rule : %s. Got error %v", ruleEntry.RuleName, err)
but not returned back from func,
grule-rule-engine/engine/GruleEngine.go
Lines 179 to 183 in 7272ef7
proposed:
err = fmt.Errorf("Failed testing condition for rule : %s. Got error %v", ruleEntry.RuleName, err)
log.Error(err)
if g.ReturnErrOnFailedRuleEvaluation {
The text was updated successfully, but these errors were encountered: