Parcourir la source

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

11wqe1 il y a 3 heures
Parent
commit
50a8a4c724
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
 };