소스 검색

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

11wqe1 3 달 전
부모
커밋
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;
 };