enhancement #IABK5C 校验 EL 表达式,获取校验失败原因

This commit is contained in:
gaibu
2024-07-09 10:41:25 +08:00
parent 3bbef46a5d
commit 43fa9d47d3

View File

@@ -247,9 +247,7 @@ public class LiteFlowChainELBuilder {
*/
public static boolean validate(String elStr) {
try {
// 移除注释
elStr = ElRegexUtil.removeComments(elStr);
LiteFlowChainELBuilder.createChain().setEL(elStr);
validateThrowEx(elStr);
return Boolean.TRUE;
} catch (Exception e) {
LOG.error("validate error",e);