From 87e0e269df4ac6dfe4b20936fe552f7cc7f5714d Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Fri, 20 Jan 2023 11:27:11 +0800 Subject: [PATCH] =?UTF-8?q?enhancement=20#I69QOB=20=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=BB=84=E4=BB=B6=E6=97=B6=EF=BC=8C=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=BC=82=E5=B8=B8=E4=BF=A1=E6=81=AF=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yomahub/liteflow/flow/FlowBus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/flow/FlowBus.java b/liteflow-core/src/main/java/com/yomahub/liteflow/flow/FlowBus.java index e7c42879d..95e2b1aa1 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/flow/FlowBus.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/flow/FlowBus.java @@ -207,7 +207,7 @@ public class FlowBus { } catch (Exception e) { String error = StrUtil.format("component[{}] register error", StrUtil.isEmpty(name) ? nodeId : StrUtil.format("{}({})", nodeId, name)); LOG.error(e.getMessage()); - throw new ComponentCannotRegisterException(error); + throw new ComponentCannotRegisterException(StrUtil.format("{} {}", error, e.getMessage())); } }