浏览代码

批改不成功的话加上批改失败的分析

11wqe1 1 月之前
父节点
当前提交
50a8a4c724
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      cocostudy.js

+ 1 - 0
cocostudy.js

@@ -135,6 +135,7 @@ const gradeQuestionWithRetry = async (aiBatchCorrection, params, workId, questio
       }
       }
     }
     }
   }
   }
+  saveToAiBatchCorrection(aiBatchCorrection, workId, questionId, 0, "批改失败");
   throw lastErr;
   throw lastErr;
 };
 };