From 024989ec4cadb23d6c089eccd9b49a8818103566 Mon Sep 17 00:00:00 2001 From: Daybreak312 Date: Thu, 20 Jun 2024 10:16:54 +0900 Subject: [PATCH] REFACT :: Exception Message --- .../provider/impl/UserModelAuthenticationFactoryImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt b/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt index 9da0ce8c..d6d5a1db 100644 --- a/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt +++ b/src/main/kotlin/com/info/maeumgagym/security/authentication/provider/impl/UserModelAuthenticationFactoryImpl.kt @@ -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 =