diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/builder/LiteFlowNodeBuilder.java b/liteflow-core/src/main/java/com/yomahub/liteflow/builder/LiteFlowNodeBuilder.java index 33d3f7630..e4720e29e 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/builder/LiteFlowNodeBuilder.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/builder/LiteFlowNodeBuilder.java @@ -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); }