优化Node build时的报错

This commit is contained in:
everywhere.z
2022-09-15 13:03:07 +08:00
parent 088b415179
commit c100538673

View File

@@ -122,7 +122,7 @@ public class LiteFlowNodeBuilder {
FlowBus.addIfScriptNode(this.node.getId(), this.node.getName(), this.node.getScript());
}
} catch (Exception e) {
String errMsg = StrUtil.format("An exception occurred while building the node[{}]", this.node.getId());
String errMsg = StrUtil.format("An exception occurred while building the node[{}],{}", this.node.getId(),e.getMessage());
LOG.error(errMsg, e);
throw new NodeBuildException(errMsg);
}