异常处理优化

This commit is contained in:
bryan.zhang
2018-01-18 18:28:38 +08:00
parent 7b5937a0f4
commit c14e277b04
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {