mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
enhancement #IABK5C 校验 EL 表达式,获取校验失败原因
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user