fix: 手册执行失败,捕获异常处,更改表状态为失败

This commit is contained in:
qinoy 2024-11-06 09:47:55 +08:00
parent e00368afd4
commit 1473e3787e
2 changed files with 2 additions and 0 deletions

View File

@ -512,6 +512,8 @@ class GennerReport implements Runnable {
} catch (Exception e) {
e.printStackTrace();
SDK.getAppAPI().err(appProfile.getAppContext(), appProfile.getGenerClass() + "--" + e.toString());
// 更新手册任务为失败
new OutputTask().updateError(task.getId());
}
}
}