exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit eef6e7c67c5b4f13f18815b18af4ecbdfc573eee
parent 429ff6ca1366d903d801a19737cdcdddad312467
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sat, 14 Feb 2026 22:39:42 +0100

fix #11058

Diffstat:
Msrc/exchange/taler-exchange-httpd_withdraw.c | 3+++
Msrc/mhd/mhd_responses.c | 9+++++++++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c @@ -1433,6 +1433,9 @@ phase_generate_reply_error ( return; } case WITHDRAW_ERROR_MAXIMUM_AGE_TOO_LARGE: + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Generating JSON response with code %d\n", + (int) TALER_EC_EXCHANGE_WITHDRAW_MAXIMUM_AGE_TOO_LARGE); finish_loop (wc, TALER_MHD_REPLY_JSON_PACK ( wc->rc->connection, diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c @@ -318,6 +318,10 @@ struct MHD_Response * TALER_MHD_make_error (enum TALER_ErrorCode ec, const char *detail) { + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Generating JSON response with code %d (%s)\n", + (int) ec, + detail); return TALER_MHD_MAKE_JSON_PACK ( TALER_MHD_PACK_EC (ec), GNUNET_JSON_pack_allow_null ( @@ -331,6 +335,11 @@ TALER_MHD_reply_with_error (struct MHD_Connection *connection, enum TALER_ErrorCode ec, const char *detail) { + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Generating HTTP response with status %u and code %d (%s)\n", + http_status, + (int) ec, + detail); return TALER_MHD_REPLY_JSON_PACK ( connection, http_status,