From 1108e69e3c14e3b8d9f0c7e0c997f2e1a6a61adb Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Tue, 12 Mar 2019 22:26:33 +0200 Subject: [PATCH] better error message on network errors --- .../net/ktnx/mobileledger/async/RetrieveTransactionsTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5