summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-09-09 16:56:26 +0200
committerChristian Grothoff <christian@grothoff.org>2020-09-09 16:56:26 +0200
commit374ef1e098a57a801ed1e1735aec573bc425cc6e (patch)
tree7dd4423cb679f9bc93481f44ce7b9878c30b74b4 /src/backend/taler-merchant-httpd.c
parente4e24b5b62ca01e431868afac06bcd548ee69d2b (diff)
downloadmerchant-374ef1e098a57a801ed1e1735aec573bc425cc6e.tar.gz
merchant-374ef1e098a57a801ed1e1735aec573bc425cc6e.tar.bz2
merchant-374ef1e098a57a801ed1e1735aec573bc425cc6e.zip
diagnostics for #6581
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r--src/backend/taler-merchant-httpd.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index 7104b954..22e11d74 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -456,6 +456,7 @@ TMH_long_poll_resume (const char *order_id,
.refund_amount = refund_amount,
.obtained = obtained
};
+ int ret;
compute_pay_key (order_id,
&mi->merchant_pub,
@@ -463,13 +464,14 @@ TMH_long_poll_resume (const char *order_id,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Resuming operations suspended pending payment on key %s\n",
GNUNET_h2s (&key));
- GNUNET_CONTAINER_multihashmap_get_multiple (payment_trigger_map,
- &key,
- &resume_operation,
- (void *) &rd);
+ ret = GNUNET_CONTAINER_multihashmap_get_multiple (payment_trigger_map,
+ &key,
+ &resume_operation,
+ (void *) &rd);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "%u operations remain suspended pending payment\n",
- GNUNET_CONTAINER_multihashmap_size (payment_trigger_map));
+ "%u operations remain suspended pending payment (%d)\n",
+ GNUNET_CONTAINER_multihashmap_size (payment_trigger_map),
+ ret);
}