]> git.ktnx.net Git - mobile-ledger.git/commitdiff
better error message on network errors
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 12 Mar 2019 20:26:33 +0000 (22:26 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 Mar 2019 20:54:57 +0000 (22:54 +0200)
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java

index 63e931d49ae978143008a864806de5e1724cd86a..47154b0b8744ca66302172db2380a3a337525e46 100644 (file)
@@ -516,7 +516,7 @@ public class RetrieveTransactionsTask
         }
         catch (IOException e) {
             e.printStackTrace();
-            return "Parse error";
+            return e.getLocalizedMessage();
         }
         catch (ParseException e) {
             e.printStackTrace();