From 86f6ae4df725287ede263d56e5cbd49f7f19b99c Mon Sep 17 00:00:00 2001 From: bryan31 Date: Sun, 29 May 2022 18:12:09 +0800 Subject: [PATCH] =?UTF-8?q?enhancement=20#I5851Y=20=E5=AF=B9=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9A=84=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E5=8C=BA=E5=88=86=E4=B8=8B=EF=BC=8C=E7=8E=B0?= =?UTF-8?q?=E5=9C=A8=E6=8A=A5=E9=94=99=E7=B2=92=E5=BA=A6=E5=A4=AA=E7=B2=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yomahub/liteflow/core/FlowExecutor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java b/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java index 2de85df64..9aa03992b 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java @@ -132,8 +132,8 @@ public class FlowExecutor { LOG.error(e.getMessage()); throw e; } catch (Exception e) { - String errorMsg = StrUtil.format("init flow executor cause error,cannot find the parse for path {}", path); - LOG.error(errorMsg, e); + String errorMsg = StrUtil.format("init flow executor cause error for path {},reason:{}", path, e.getMessage()); + LOG.error(e.getMessage(), e); throw new FlowExecutorNotInitException(errorMsg); } } @@ -158,8 +158,8 @@ public class FlowExecutor { LOG.error(e.getMessage()); throw e; } catch (Exception e) { - String errorMsg = StrUtil.format("init flow executor cause error,can not parse rule file {}", rulePathList); - LOG.error(errorMsg, e); + String errorMsg = StrUtil.format("init flow executor cause error for path {},reason: {}", rulePathList, e.getMessage()); + LOG.error(e.getMessage(), e); throw new FlowExecutorNotInitException(errorMsg); } }