mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
优化
This commit is contained in:
@@ -147,7 +147,7 @@ public class FlowExecutor {
|
||||
}
|
||||
|
||||
try {
|
||||
//执行chain
|
||||
// 执行chain
|
||||
chain.execute(slotIndex);
|
||||
} catch (Exception e) {
|
||||
LOG.error("[{}]:chain[{}] execute error on slot[{}]", slot.getRequestId(), chain.getChainName(), slotIndex);
|
||||
|
||||
@@ -24,7 +24,7 @@ public class FlowBus {
|
||||
private FlowBus() {
|
||||
}
|
||||
|
||||
public static Chain getChain(String id) throws Exception{
|
||||
public static Chain getChain(String id) throws Exception {
|
||||
if (MapUtils.isEmpty(chainMap)) {
|
||||
throw new Exception("please config the rule first");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user