mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
enhancement: #I1W8OW 提一个需求点:一个组件出错能记录一些重要信息
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
package com.yomahub.liteflow.entity.flow;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.yomahub.liteflow.entity.data.DataBus;
|
||||
import com.yomahub.liteflow.entity.data.Slot;
|
||||
import com.yomahub.liteflow.enums.ExecuteTypeEnum;
|
||||
@@ -62,7 +63,7 @@ public class Chain implements Executable{
|
||||
for(Executable executableItem : condition.getNodeList()){
|
||||
try{
|
||||
executableItem.execute(slotIndex);
|
||||
}catch (ChainEndException e){
|
||||
}catch (Exception e){
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user