feature #IAY66T完善代码

This commit is contained in:
DaleLee
2025-07-07 22:50:40 +08:00
parent be5f78429b
commit 8be57bed27

View File

@@ -273,13 +273,12 @@ public class Chain implements Executable{
tempChain.setCompiled(false);
LiteFlowChainELBuilder.buildUnCompileChain(tempChain);
List<Condition> tempConditionList = tempChain.getConditionList();
// 移除临时chain
FlowBus.removeChain(tempChainId);
// 打印警告可用于排查临时chain与已有chain重名几乎不可能发生而将已有chain覆盖的情况
LOG.warn("The conditionList of chain[{}] is empty, " +
"temporarily using chain[{}] (now removed) to build it.", chainId, tempChainId);
return tempConditionList;
return tempChain.getConditionList();
}
}