[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: improve logging, support case th
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: improve logging, support case that is in the protocol client-side |
Date: |
Thu, 28 Mar 2024 12:31:27 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 9310bd13f improve logging, support case that is in the protocol
client-side
9310bd13f is described below
commit 9310bd13f9437b94fd0885d77b019d49bc674e3c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Mar 28 12:31:24 2024 +0100
improve logging, support case that is in the protocol client-side
---
src/exchange/taler-exchange-httpd_refund.c | 1 +
src/lib/exchange_api_refund.c | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/src/exchange/taler-exchange-httpd_refund.c
b/src/exchange/taler-exchange-httpd_refund.c
index 33ead7c69..b8bcf7c60 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -158,6 +158,7 @@ refund_transaction (void *cls,
}
if (conflict)
{
+ GNUNET_break_op (0);
*mhd_ret = TEH_RESPONSE_reply_coin_insufficient_funds (
connection,
TALER_EC_EXCHANGE_REFUND_INCONSISTENT_AMOUNT,
diff --git a/src/lib/exchange_api_refund.c b/src/lib/exchange_api_refund.c
index 7401bfe4f..9159b55f2 100644
--- a/src/lib/exchange_api_refund.c
+++ b/src/lib/exchange_api_refund.c
@@ -323,6 +323,10 @@ handle_refund_finished (void *cls,
rr.hr.ec = TALER_JSON_get_error_code (j);
rr.hr.hint = TALER_JSON_get_error_hint (j);
break;
+ case MHD_HTTP_FAILED_DEPENDENCY:
+ rr.hr.ec = TALER_JSON_get_error_code (j);
+ rr.hr.hint = TALER_JSON_get_error_hint (j);
+ break;
case MHD_HTTP_PRECONDITION_FAILED:
if (GNUNET_OK !=
verify_failed_dependency_ok (rh,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: improve logging, support case that is in the protocol client-side,
gnunet <=