commit 395dffec8c69b30d79db1f7a60a3f449298349f6
parent 33938efd18efa1f677b4a9b94b255940ec9c8a6c
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 2 Nov 2025 16:55:30 +0100
do not call reply_with_error() twice
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -3572,10 +3572,10 @@ phase_parse_choices (struct OrderContext *oc)
&output.details.token.key_index))
{
- reply_with_error (oc,
- MHD_HTTP_BAD_REQUEST,
- TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_TOKEN_FAMILY_SLUG_UNKNOWN,
- output.details.token.token_family_slug);
+ /* note: reply_with_error() was already called */
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Could not handle output token family `%s'\n",
+ output.details.token.token_family_slug);
return;
}