refactor: ArgumentResolver에서의 오타 수정

This commit is contained in:
이상진 2025-09-12 20:51:44 +09:00
parent 4ae9aa5911
commit ea45673ef4

View File

@ -46,8 +46,7 @@ class CurrentUserContextResolver(
return authService.findContextById(id.toLong(), type)
} catch (e: Exception) {
log.info { "[MemberIdResolver] 회원 조회 실패. message=${e.message}" }
val errorCode = AuthErrorCode.MEMBER_NOT_FOUND
throw AuthException(errorCode, e.message ?: errorCode.message)
throw AuthException(AuthErrorCode.MEMBER_NOT_FOUND)
}
}
}