From 94c55b34f07e9a309e64e6057182173aaeecf591 Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Tue, 14 Mar 2023 17:03:12 +0800 Subject: [PATCH] =?UTF-8?q?feature=20#I6MPYF=20=E5=A2=9E=E5=8A=A0CATCH?= =?UTF-8?q?=E8=AF=AD=E6=B3=95=E8=A1=A8=E8=BE=BE=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../liteflow/flow/element/condition/CatchCondition.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/flow/element/condition/CatchCondition.java b/liteflow-core/src/main/java/com/yomahub/liteflow/flow/element/condition/CatchCondition.java index 48e8721a4..eed08958c 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/flow/element/condition/CatchCondition.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/flow/element/condition/CatchCondition.java @@ -31,10 +31,10 @@ public class CatchCondition extends Condition{ if (ObjectUtil.isNotNull(doExecutable)){ doExecutable.setCurrChainId(this.getCurrChainId()); doExecutable.execute(slotIndex); - //catch之后需要把exception给清除掉 - //正如同java的catch一样,异常自己处理了,属于正常流程了,整个流程状态应该是成功的 - DataBus.getSlot(slotIndex).removeException(); } + //catch之后需要把exception给清除掉 + //正如同java的catch一样,异常自己处理了,属于正常流程了,整个流程状态应该是成功的 + DataBus.getSlot(slotIndex).removeException(); } }