diff options
author | Torsten Grote <t@grobox.de> | 2022-11-04 14:49:32 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2022-11-04 14:49:32 -0300 |
commit | b6a42f1dbede30dba0fc969b81eb2fb4e5eb3883 (patch) | |
tree | 734fa725a673c74df7315a100d3b4e24e3d0c316 | |
parent | 963fe8f3bee1971d6873d93737e5e6056ca1a6c2 (diff) | |
download | taler-android-b6a42f1dbede30dba0fc969b81eb2fb4e5eb3883.tar.gz taler-android-b6a42f1dbede30dba0fc969b81eb2fb4e5eb3883.tar.bz2 taler-android-b6a42f1dbede30dba0fc969b81eb2fb4e5eb3883.zip |
[wallet] Include error message when listExchanges fails
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/exchanges/ExchangeManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/exchanges/ExchangeManager.kt b/wallet/src/main/java/net/taler/wallet/exchanges/ExchangeManager.kt index 36b5017..5a4c6c2 100644 --- a/wallet/src/main/java/net/taler/wallet/exchanges/ExchangeManager.kt +++ b/wallet/src/main/java/net/taler/wallet/exchanges/ExchangeManager.kt @@ -55,7 +55,7 @@ class ExchangeManager( scope.launch { val response = api.request("listExchanges", ExchangeListResponse.serializer()) response.onError { - throw AssertionError("Wallet core failed to return exchanges!") + throw AssertionError("Wallet core failed to return exchanges! ${it.userFacingMsg}") }.onSuccess { Log.d(TAG, "Exchange list: ${it.exchanges}") mProgress.value = false |