diff options
Diffstat (limited to 'src/testing/testing_api_cmd_wallet_get_order.c')
-rw-r--r-- | src/testing/testing_api_cmd_wallet_get_order.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_wallet_get_order.c b/src/testing/testing_api_cmd_wallet_get_order.c index d0a50a0c..a58dda80 100644 --- a/src/testing/testing_api_cmd_wallet_get_order.c +++ b/src/testing/testing_api_cmd_wallet_get_order.c @@ -600,6 +600,9 @@ wallet_poll_order_cb ( struct WalletPollOrderStartState *pos = cls; pos->ogh = NULL; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "GET /orders/$ID finished with status %u.\n", + hr->http_status); pos->http_status = hr->http_status; switch (hr->http_status) { @@ -791,6 +794,12 @@ wallet_poll_order_conclude_run (void *cls, GNUNET_assert (poll_cmd->run == &wallet_poll_order_start_run); pos = poll_cmd->cls; pos->cs = poc; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Waiting on GET /orders/$ID of %s (%s)\n", + poc->start_reference, + (NULL == pos->ogh) + ? "finished" + : "active"); if (NULL == pos->ogh) poc->task = GNUNET_SCHEDULER_add_now (&conclude_task, poc); |