|
@@ -416,8 +416,8 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
|
|
|
log.warn("calcExamScore examRecordDataId:{}, totalQuestion:{}, totalObjective:{}, cost:{}ms",
|
|
|
req.getExamRecordDataId(), examQuestions.size(), totalObjective, cost);
|
|
|
return resp;
|
|
|
- } catch (NullPointerException e) {
|
|
|
- log.error(e.getMessage(), e);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("计算考试分数异常!examRecordDataId:{} err:{}", req.getExamRecordDataId(), e.getMessage());
|
|
|
throw new StatusException("计算考试分数异常!examRecordDataId=" + req.getExamRecordDataId());
|
|
|
}
|
|
|
}
|