diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-20 20:14:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-20 20:14:30 +0200 |
commit | 33e80b885a9c97d85eb009027feecfba2928165f (patch) | |
tree | 9160259a367be74989956743778064c6c8439537 /src/backend/taler-merchant-httpd.c | |
parent | ca347c3182afcc934fec2856fff77e788e97e832 (diff) | |
download | merchant-33e80b885a9c97d85eb009027feecfba2928165f.tar.gz merchant-33e80b885a9c97d85eb009027feecfba2928165f.tar.bz2 merchant-33e80b885a9c97d85eb009027feecfba2928165f.zip |
implement test for #6466
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 9da5f23d..75ff2460 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -357,7 +357,7 @@ do_resume (void *cls) GNUNET_CONTAINER_multihashmap_remove (payment_trigger_map, &sc->key2, sc)); - GNUNET_log (GNUNET_ERROR_TYPE_INFO, + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Resuming long polled job due to timeout\n"); MHD_resume_connection (sc->con); TMH_trigger_daemon (); /* we resumed, kick MHD */ @@ -531,8 +531,11 @@ TMH_long_poll_resume (const char *order_id, &mi->merchant_pub, &key); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Resuming operations suspended pending payment on key %s\n", - GNUNET_h2s (&key)); + "Resuming operations suspended pending payment on key %s up to refund %s\n", + GNUNET_h2s (&key), + (NULL != refund_amount) + ? TALER_amount2s (refund_amount) + : "<none>"); ret = GNUNET_CONTAINER_multihashmap_get_multiple (payment_trigger_map, &key, &resume_operation, |