update 优化 异常处理

This commit is contained in:
疯狂的狮子Li
2026-06-23 11:39:58 +08:00
parent 93a07e57b8
commit d7c525d7f8
@@ -651,7 +651,7 @@ public class FlwTaskServiceImpl implements IFlwTaskService {
}
} 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;
}
}