diff --git a/pom.xml b/pom.xml index 1865eb237..0960a12d0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ liteflow jar 4.0.0 - 1.2.18 + 1.2.19 UTF-8 diff --git a/src/main/java/com/thebeastshop/liteflow/core/FlowExecutor.java b/src/main/java/com/thebeastshop/liteflow/core/FlowExecutor.java index 816fd588f..0160c2dff 100644 --- a/src/main/java/com/thebeastshop/liteflow/core/FlowExecutor.java +++ b/src/main/java/com/thebeastshop/liteflow/core/FlowExecutor.java @@ -132,6 +132,7 @@ public class FlowExecutor { if(component.isContinueOnError()){ LOG.error("[{}]:component[{}] cause error,but flow is still go on",t,slot.getRequestId(),component.getClass().getSimpleName()); }else{ + LOG.error("[{}]:executor cause error",t,slot.getRequestId()); throw t; } } @@ -146,7 +147,6 @@ public class FlowExecutor { } return (T)slot; }catch(Exception e){ - LOG.error("[{}]:executor cause error",e,slot.getRequestId()); throw new FlowSystemException("executor cause error"); }finally{ if(!isInnerChain) {