From d6bae405de92e5ad2e42ad6ac3869d7b59cd6ccf Mon Sep 17 00:00:00 2001 From: Heon Date: Sun, 25 Aug 2024 23:31:11 +0900 Subject: [PATCH] feat: log key hash --- .../moneymong/feature/sign/viewmodel/LoginViewModel.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feature/sign/src/main/java/com/moneymong/moneymong/feature/sign/viewmodel/LoginViewModel.kt b/feature/sign/src/main/java/com/moneymong/moneymong/feature/sign/viewmodel/LoginViewModel.kt index db32dbee..41022fc8 100644 --- a/feature/sign/src/main/java/com/moneymong/moneymong/feature/sign/viewmodel/LoginViewModel.kt +++ b/feature/sign/src/main/java/com/moneymong/moneymong/feature/sign/viewmodel/LoginViewModel.kt @@ -1,6 +1,7 @@ package com.moneymong.moneymong.feature.sign.viewmodel import android.util.Log +import com.kakao.sdk.common.KakaoSdk import com.moneymong.moneymong.common.base.BaseViewModel import com.moneymong.moneymong.domain.usecase.token.PostAccessTokenUseCase import com.moneymong.moneymong.domain.usecase.token.TokenUseCase @@ -34,7 +35,7 @@ class LoginViewModel @Inject constructor( } fun onKakaoLoginFailure(throwable: Throwable) = intent { - Log.d("LoginViewModel, in Failure", throwable.message ?: throwable.toString()) + Log.d("LoginViewModel, in Failure", KakaoSdk.keyHash) reduce { state.copy( visibleError = true,