Skip to content

Commit e2e1ad3

Browse files
committed
fix: AuthControllerDocs 오류 수정#2
1 parent 7b0b6bc commit e2e1ad3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/ssu/eatssu/domain/auth/entity/SystemAppleAuthenticator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ private OAuthInfo getOAuthInfoByPublicKey(String identityToken, PublicKey public
7171
boolean existsUser = userRepository.findByProviderId(providerId).isPresent();
7272

7373
if (existsUser) {
74-
// 가설 맞음: 기존 유저 재로그인 케이스
75-
log.info("[Apple Login] email claim 없음 & DB 유저 있음. 재로그인 케이스로 확인. providerId={}", providerId);
74+
// 가설 맞음: 기존 유저 재로그인 케이스 → 슬랙 알럿으로 확인
75+
log.warn("[Apple Login] email claim 없음 & DB 유저 있음. 재로그인 케이스로 확인. providerId={}", providerId);
7676
throw new BaseException(NOT_FOUND_EMAIL);
7777
} else {
78-
// 다른 원인: 신규 유저인데 email 없음 → 슬랙 알럿용 별도 에러코드
78+
// 다른 원인: 신규 유저인데 email 없음 → 슬랙 알럿으로 별도 구분
7979
log.warn("[Apple Login] email claim 없음 & DB 유저 없음. 원인 불명. providerId={}", providerId);
8080
throw new BaseException(NOT_FOUND_APPLE_EMAIL_NEW_USER);
8181
}

0 commit comments

Comments
 (0)