mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-17 01:04:39 +08:00
update 优化 异常处理
This commit is contained in:
parent
89f4b7007a
commit
e49f02f89e
@ -646,7 +646,7 @@ public class FlwTaskServiceImpl implements IFlwTaskService {
|
|||||||
}
|
}
|
||||||
} catch (FlowException e) {
|
} catch (FlowException e) {
|
||||||
// 条件变量缺失时跳过当前分支,其他引擎异常继续抛出。
|
// 条件变量缺失时跳过当前分支,其他引擎异常继续抛出。
|
||||||
if (!ExceptionCons.NULL_CONDITION_VALUE.equals(e.getMessage())) {
|
if (!StringUtils.containsAny(e.getMessage(), ExceptionCons.NULL_CONDITION_VALUE, ExceptionCons.NULL_SKIP_TYPE)) {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user