mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-23 00:08:09 +08:00
enhancement #I5ULVA 修正不规范的问题,chain的name和id混用,不太严谨
This commit is contained in:
@@ -54,7 +54,7 @@ public class QLExpressScriptExecutor implements ScriptExecutor {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object execute(ScriptExecuteWrap wrap) {
|
||||
public Object execute(ScriptExecuteWrap wrap) throws Exception{
|
||||
List<String> errorList = new ArrayList<>();
|
||||
try{
|
||||
if (!compiledScriptMap.containsKey(wrap.getNodeId())){
|
||||
@@ -98,8 +98,7 @@ public class QLExpressScriptExecutor implements ScriptExecutor {
|
||||
for (String scriptErrorMsg : errorList){
|
||||
log.error("\n{}", scriptErrorMsg);
|
||||
}
|
||||
String errorMsg = StrUtil.format("script execute error for node[{}]", wrap.getNodeId());
|
||||
throw new ScriptExecuteException(errorMsg);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user