Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-29 19:48:28 +03:00
parent d121dace8f
commit 406d8a924e
2 changed files with 4 additions and 1 deletions

View file

@ -281,7 +281,8 @@ internal class DefaultWalletManagersFacade @Inject constructor(
val gaslessFeeAddresses = try { val gaslessFeeAddresses = try {
gaslessTransactionRepository.getGaslessFeeAddresses() gaslessTransactionRepository.getGaslessFeeAddresses()
} catch (_: Throwable) { } catch (error: Throwable) {
Timber.e(error, "Failed to load gasless fee addresses; falling back to empty set")
emptySet() emptySet()
} }
return when (itemsResult) { return when (itemsResult) {

View file

@ -40,6 +40,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import timber.log.Timber
@Suppress("LongParameterList") @Suppress("LongParameterList")
internal class FeeSelectorLogic @AssistedInject constructor( internal class FeeSelectorLogic @AssistedInject constructor(
@ -269,6 +270,7 @@ internal class FeeSelectorLogic @AssistedInject constructor(
val selectedToken = getSelectedTokenStatus(fee.feeTokenId).bind() val selectedToken = getSelectedTokenStatus(fee.feeTokenId).bind()
val availableTokens = getAvailableFeeTokens().fold( val availableTokens = getAvailableFeeTokens().fold(
ifLeft = { error -> ifLeft = { error ->
Timber.e("Failed to get available fee tokens: $error")
if (selectedToken.currency !is CryptoCurrency.Coin) { if (selectedToken.currency !is CryptoCurrency.Coin) {
raise(error) raise(error)
} }