From: Damyan Ivanov Date: Tue, 12 Mar 2019 20:26:33 +0000 (+0200) Subject: better error message on network errors X-Git-Tag: v0.8~17 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=1108e69e3c14e3b8d9f0c7e0c997f2e1a6a61adb;p=mobile-ledger.git better error message on network errors --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java index 63e931d4..47154b0b 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -516,7 +516,7 @@ public class RetrieveTransactionsTask } catch (IOException e) { e.printStackTrace(); - return "Parse error"; + return e.getLocalizedMessage(); } catch (ParseException e) { e.printStackTrace();