Closed MajorJason closed 3 years ago
@MajorJason, thanks for your contribution. For displaying exception, could you leave a screenshot here? Thus, I can see the effect with this patch.
For example , wrong action name won't displaying exception. After this patch, the exception message part will display.
I see. The patch looks good to me. I will commit it soon. Thanks for your awesome work!
By the way, @lipppppp, after double think about checking legality of rule/action, I would like to give the following suggestion. If tasks are generally submitted from front end, I think you can just do the check at front end, which may avoid most issues already. But, if some tasks are submitted through script and bypassing front end in real environment, you may need to do the check at back end.
Good suggestion, we will add the check at back end to improve this.
When user run action in submit stage or add rule, the exception won't display in the web. So we add exception displaying part to give users more clear exception information.