Kaynağa Gözat

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

11wqe1 2 hafta önce
ebeveyn
işleme
50a8a4c724
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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;
 };