[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix error handling
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix error handling |
Date: |
Fri, 22 Dec 2023 18:44:12 +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 54a19689 -fix error handling
54a19689 is described below
commit 54a19689ab02a413e360ab2267c0c5a899b95711
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Dec 23 01:44:06 2023 +0800
-fix error handling
---
src/lib/exchange_api_batch_withdraw.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/lib/exchange_api_batch_withdraw.c
b/src/lib/exchange_api_batch_withdraw.c
index 8366ffda..bc5abd53 100644
--- a/src/lib/exchange_api_batch_withdraw.c
+++ b/src/lib/exchange_api_batch_withdraw.c
@@ -304,6 +304,8 @@ withdraw_cs_stage_two_callback (
switch (csrr->hr.http_status)
{
case MHD_HTTP_OK:
+ GNUNET_assert (NULL ==
+ cd->alg_values.blinding_inputs);
TALER_denom_ewv_deep_copy (&cd->alg_values,
&csrr->details.ok.alg_values);
TALER_planchet_setup_coin_priv (&cd->ps,
@@ -323,7 +325,12 @@ withdraw_cs_stage_two_callback (
&cd->pd))
{
GNUNET_break (0);
+ wr.hr.http_status = 0;
+ wr.hr.ec = TALER_EC_GENERIC_CLIENT_INTERNAL_ERROR;
+ wh->cb (wh->cb_cls,
+ &wr);
TALER_EXCHANGE_batch_withdraw_cancel (wh);
+ return;
}
wh->cs_pending--;
if (0 == wh->cs_pending)
--
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: -fix error handling,
gnunet <=