From 986d32fbddf477e6f5a33bc3a7c51ea807c00425 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 9 Dec 2021 21:58:40 +0200 Subject: [PATCH] include exception details in debug log when retrieving transactions includes precious details about json parsing errors --- .../ktnx/mobileledger/async/RetrieveTransactionsTask.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 414e4003..56a7d6b8 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -466,9 +466,9 @@ public class RetrieveTransactionsTask extends Thread { return retrieveTransactionListForVersion(ver); } catch (Exception e) { - Logger.debug("json", - String.format(Locale.US, "Error during account list retrieval using API %s", - ver.getDescription())); + Logger.debug("json", String.format(Locale.US, + "Error during transaction list retrieval using API %s", + ver.getDescription()), e); } } -- 2.39.5