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);
}
}
finish(new Result("Network error"));
}
catch (OperationCanceledException e) {
- e.printStackTrace();
- finish(new Result("Operation cancelled"));
+ Logger.debug("RTT", "Retrieval was cancelled", e);
+ finish(new Result(null));
}
catch (ApiNotSupportedException e) {
e.printStackTrace();