Skip to content

Commit

Permalink
REFACT :: Exception Message
Browse files Browse the repository at this point in the history
  • Loading branch information
Daybreak312 committed Jun 20, 2024
1 parent 5172422 commit 024989e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class UserModelAuthenticationFactoryImpl(
UserModelAuthentication(
userSubject = username,
user = readUserPort.readByOAuthId(username)
?: throw CriticalException("Cannot Find User By username : $username")
?: throw CriticalException("Cannot Find User By username : $username, user was deleted but token did not revoked.")
)

override fun createEmptyAuthentication(username: String): UserModelAuthentication =
Expand Down

0 comments on commit 024989e

Please sign in to comment.