mirror of https://gitee.com/dromara/liteFlow
fix: change catch log level from error to warn, exception is handled properly
This commit is contained in:
parent
9b7e69d739
commit
793a99cbd9
|
|
@ -37,7 +37,7 @@ public class CatchCondition extends Condition {
|
|||
//ChainEndException属于用户主动结束流程,不应该进入Catch的流程
|
||||
throw e;
|
||||
}catch (Exception e) {
|
||||
LOG.error("catch exception:" + e.getMessage(), e);
|
||||
LOG.warn("catch exception (handled):" + e.getMessage(), e);
|
||||
Executable doExecutable = this.getDoItem();
|
||||
if (ObjectUtil.isNotNull(doExecutable)) {
|
||||
doExecutable.setCurrChainId(this.getCurrChainId());
|
||||
|
|
@ -70,4 +70,4 @@ public class CatchCondition extends Condition {
|
|||
this.addExecutable(ConditionKey.DO_KEY, executable);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue