generated from pricelees/issue-pr-template
refactor: ArgumentResolver에서의 오타 수정
This commit is contained in:
parent
4ae9aa5911
commit
ea45673ef4
@ -46,8 +46,7 @@ class CurrentUserContextResolver(
|
|||||||
return authService.findContextById(id.toLong(), type)
|
return authService.findContextById(id.toLong(), type)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
log.info { "[MemberIdResolver] 회원 조회 실패. message=${e.message}" }
|
log.info { "[MemberIdResolver] 회원 조회 실패. message=${e.message}" }
|
||||||
val errorCode = AuthErrorCode.MEMBER_NOT_FOUND
|
throw AuthException(AuthErrorCode.MEMBER_NOT_FOUND)
|
||||||
throw AuthException(errorCode, e.message ?: errorCode.message)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user