summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-10 12:40:37 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-10 18:48:44 +0200
commite17121fd1c8a08aeedafd0be365ba06e0820c691 (patch)
tree8f0154c38b79047b58d59e0f3975e1f135529a7c /src/exchange-lib/testing_api_cmd_withdraw.c
parentdb65bc69bfc5800f579f9bfa42336a88ef12a7cd (diff)
downloadexchange-e17121fd1c8a08aeedafd0be365ba06e0820c691.tar.gz
exchange-e17121fd1c8a08aeedafd0be365ba06e0820c691.tar.bz2
exchange-e17121fd1c8a08aeedafd0be365ba06e0820c691.zip
use retry in benchmark
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_withdraw.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_withdraw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c
index c70754999..50cc45ed5 100644
--- a/src/exchange-lib/testing_api_cmd_withdraw.c
+++ b/src/exchange-lib/testing_api_cmd_withdraw.c
@@ -169,6 +169,10 @@ reserve_withdraw_cb (void *cls,
{
if (GNUNET_YES == ws->do_retry)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Retrying withdraw failed with %u/%d\n",
+ http_status,
+ (int) ec);
if ( (TALER_EC_DB_COMMIT_FAILED_ON_RETRY == ec) ||
(TALER_EC_WITHDRAW_INSUFFICIENT_FUNDS == ec) ||
(TALER_EC_WITHDRAW_RESERVE_UNKNOWN == ec) ||