Updated on 2026-08-14

This commit is contained in:
Tangem 2026-03-20 21:54:46 +04:00
parent 8b75e37e30
commit a9bca131c3
386 changed files with 1369 additions and 1347 deletions

View file

@ -3,7 +3,7 @@ package com.tangem.domain.wallets.usecase
import com.tangem.domain.models.wallet.UserWalletId
import com.tangem.domain.wallets.repository.WalletsRepository
import com.tangem.utils.coroutines.runSuspendCatching
import timber.log.Timber
import com.tangem.utils.logging.TangemLogger
/**
* Use case to sync wallet with remote
@ -16,6 +16,6 @@ class SyncWalletWithRemoteUseCase(
suspend operator fun invoke(userWalletId: UserWalletId) {
runSuspendCatching { walletsRepository.createWallet(userWalletId) }
.onFailure(Timber::e)
.onFailure { TangemLogger.e("Error", it) }
}
}