Updated on 2026-08-14
This commit is contained in:
parent
d121dace8f
commit
406d8a924e
2 changed files with 4 additions and 1 deletions
|
|
@ -281,7 +281,8 @@ internal class DefaultWalletManagersFacade @Inject constructor(
|
|||
|
||||
val gaslessFeeAddresses = try {
|
||||
gaslessTransactionRepository.getGaslessFeeAddresses()
|
||||
} catch (_: Throwable) {
|
||||
} catch (error: Throwable) {
|
||||
Timber.e(error, "Failed to load gasless fee addresses; falling back to empty set")
|
||||
emptySet()
|
||||
}
|
||||
return when (itemsResult) {
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
|
|||
import kotlinx.coroutines.flow.launchIn
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import kotlinx.coroutines.launch
|
||||
import timber.log.Timber
|
||||
|
||||
@Suppress("LongParameterList")
|
||||
internal class FeeSelectorLogic @AssistedInject constructor(
|
||||
|
|
@ -269,6 +270,7 @@ internal class FeeSelectorLogic @AssistedInject constructor(
|
|||
val selectedToken = getSelectedTokenStatus(fee.feeTokenId).bind()
|
||||
val availableTokens = getAvailableFeeTokens().fold(
|
||||
ifLeft = { error ->
|
||||
Timber.e("Failed to get available fee tokens: $error")
|
||||
if (selectedToken.currency !is CryptoCurrency.Coin) {
|
||||
raise(error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue