优化Script功能模块的一些结构问题

This commit is contained in:
everywhere.z
2022-10-01 22:21:19 +08:00
parent b1a424e945
commit 657e97c06e

View File

@@ -56,7 +56,7 @@ public class QLExpressScriptExecutor implements ScriptExecutor {
try{
if (!compiledScriptMap.containsKey(nodeId)){
String errorMsg = StrUtil.format("script for node[{}] is not loaded", nodeId);
throw new RuntimeException(errorMsg);
throw new ScriptLoadException(errorMsg);
}
InstructionSet instructionSet = compiledScriptMap.get(nodeId);