microsoft / RulesEngine

A Json based Rules Engine with extensive Dynamic expression support
https://microsoft.github.io/RulesEngine/
MIT License
3.6k stars 543 forks source link

ExceptionMessage not populated in ExecuteActionWorkflowAsync #519

Open rmbrunet opened 1 year ago

rmbrunet commented 1 year ago

Is the ErrorMessage in the Rule definition just a template with possible interpolated values that are substituted after rule execution and then copied to the ExceptionMessage? At least that is what I see after ExecuteAllRulesAsync. But surprisingly, I don't see the ExceptionMessage been set after ExecuteActionWorkAsync. Maybe a call to FormatErrorMessages is missing in ExecuteActionWorkflowAsync?

Thanks!