Skip to content

Commit 26ea97f

Browse files
committed
#107 [CHORE] 선행 인증 로직에 로그 추가
1 parent efaabf9 commit 26ea97f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/example/trace/gpt/service/PostVerificationServiceImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,15 @@ public VerificationDto verifyDailyMission(SubmitDailyMissionDto submitDto,DailyM
7272
VerificationDto result = verifyMissionTextOnly(requestContent, assignedContent);
7373
if (!result.isTextResult()) {
7474
String failureReason = result.getFailureReason();
75+
log.info("실패 이유 : {}",failureReason);
7576
throw new GptException(GptErrorCode.WRONG_CONTENT, failureReason);
7677
}
7778
return result;
7879
} else {
7980
VerificationDto result = verifyMissionTextAndImages(requestContent, assignedContent, images);
8081
if (!result.isTextResult() || !result.isImageResult()) {
8182
String failureReason = result.getFailureReason();
83+
log.info("실패 이유 : {}",failureReason);
8284
throw new GptException(GptErrorCode.WRONG_CONTENT, failureReason);
8385
}
8486
return result;

0 commit comments

Comments
 (0)