From 82f01f111b2626362746112ba8c95e8a71e95924 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 12 Feb 2019 17:13:08 +0100 Subject: Getting transaction history 60% fixed. --- src/wire-plugins/plugin_wire_taler-bank.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/wire-plugins') diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c index 289c9b6a0..1947a5ae5 100644 --- a/src/wire-plugins/plugin_wire_taler-bank.c +++ b/src/wire-plugins/plugin_wire_taler-bank.c @@ -1073,7 +1073,12 @@ taler_bank_get_history (void *cls, parse_account_cfg (tc->cfg, account_section, &account)) + { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Could not parse the config section '%s'\n", + account_section); return NULL; + } whh = GNUNET_new (struct TALER_WIRE_HistoryHandle); if (GNUNET_OK != @@ -1081,6 +1086,9 @@ taler_bank_get_history (void *cls, account_section, &whh->auth)) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Could not parse the auth values from '%s'\n", + account_section); GNUNET_free (whh); return NULL; } @@ -1088,6 +1096,8 @@ taler_bank_get_history (void *cls, whh->hres_cb = hres_cb; whh->hres_cb_cls = hres_cb_cls; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Requesting the transaction history.\n"); whh->hh = TALER_BANK_history (tc->ctx, account.bank_base_url, &whh->auth, @@ -1110,6 +1120,7 @@ taler_bank_get_history (void *cls, } GNUNET_free (account.hostname); GNUNET_free (account.bank_base_url); + GNUNET_assert (NULL != whh); return whh; } -- cgit v1.2.3