update 优化 异常处理

This commit is contained in:
疯狂的狮子Li
2026-06-23 11:37:58 +08:00
parent 89f4b7007a
commit e49f02f89e
@@ -646,7 +646,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;
}
}