summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-18 21:27:01 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-18 21:27:04 +0200
commitbc602bc7c77c85fa48babe3997cfe389a59d0861 (patch)
treece0bf2f39a39df8fa48374e1b49fe20e257f298e /src/backend
parenta5e60ea5210b7a451bdbb21bf1a87d41e6af84a5 (diff)
downloadmerchant-bc602bc7c77c85fa48babe3997cfe389a59d0861.tar.gz
merchant-bc602bc7c77c85fa48babe3997cfe389a59d0861.tar.bz2
merchant-bc602bc7c77c85fa48babe3997cfe389a59d0861.zip
-log more details
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-claim.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-claim.c b/src/backend/taler-merchant-httpd_post-orders-ID-claim.c
index 1ea4323a..07a3fd8a 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-claim.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-claim.c
@@ -120,7 +120,6 @@ claim_order (const char *instance_id,
GNUNET_assert (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs);
/* Now we need to claim the order. */
-
{
struct TALER_MerchantPostDataHashP unused;
struct GNUNET_TIME_Timestamp timestamp;
@@ -218,9 +217,12 @@ TMH_post_orders_ID_claim (const struct TMH_RequestHandler *rh,
hc->request_body,
spec);
if (GNUNET_OK != res)
+ {
+ GNUNET_break_op (0);
return (GNUNET_NO == res)
? MHD_YES
: MHD_NO;
+ }
}
contract_terms = NULL;
for (unsigned int i = 0; i<MAX_RETRIES; i++)