mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
异常处理优化
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
||||
<artifactId>liteflow</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>1.2.18</version>
|
||||
<version>1.2.19</version>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user