[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 89/151: -improve logging
From: |
gnunet |
Subject: |
[taler-exchange] 89/151: -improve logging |
Date: |
Tue, 30 Jul 2024 23:37:39 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 4545732a229676d1359c380f16dc8424d1e9d673
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 17 09:11:42 2024 +0200
-improve logging
---
src/exchange/taler-exchange-httpd_batch-withdraw.c | 6 +++++-
src/exchange/taler-exchange-httpd_withdraw.c | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c
b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index d9f5489d8..1b473f2a3 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -511,6 +511,7 @@ parse_planchets (const struct TEH_RequestContext *rc,
if (! check_request_idempotent (wc,
&mret))
{
+ GNUNET_break (0);
return TALER_MHD_reply_with_error (rc->connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_EXCHANGE_GENERIC_KEYS_MISSING,
@@ -528,7 +529,6 @@ parse_planchets (const struct TEH_RequestContext *rc,
&pc->collectable.denom_pub_hash,
NULL,
NULL);
-
if (NULL == dk)
{
MHD_RESULT mret;
@@ -536,6 +536,7 @@ parse_planchets (const struct TEH_RequestContext *rc,
if (! check_request_idempotent (wc,
&mret))
{
+ GNUNET_break_op (0);
return TEH_RESPONSE_reply_unknown_denom_pub_hash (
rc->connection,
&pc->collectable.denom_pub_hash);
@@ -550,6 +551,7 @@ parse_planchets (const struct TEH_RequestContext *rc,
if (! check_request_idempotent (wc,
&mret))
{
+ GNUNET_break_op (0);
return TEH_RESPONSE_reply_expired_denom_pub_hash (
rc->connection,
&pc->collectable.denom_pub_hash,
@@ -562,6 +564,7 @@ parse_planchets (const struct TEH_RequestContext *rc,
{
/* This denomination is not yet valid, no need to check
for idempotency! */
+ GNUNET_break_op (0);
return TEH_RESPONSE_reply_expired_denom_pub_hash (
rc->connection,
&pc->collectable.denom_pub_hash,
@@ -576,6 +579,7 @@ parse_planchets (const struct TEH_RequestContext *rc,
if (! check_request_idempotent (wc,
&mret))
{
+ GNUNET_break_op (0);
return TEH_RESPONSE_reply_expired_denom_pub_hash (
rc->connection,
&pc->collectable.denom_pub_hash,
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c
b/src/exchange/taler-exchange-httpd_withdraw.c
index 1516d8f54..b0934ab7a 100644
--- a/src/exchange/taler-exchange-httpd_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -17,8 +17,8 @@
see <http://www.gnu.org/licenses/>
*/
/**
- * @file taler-exchange-httpd_batch-withdraw.c
- * @brief Handle /reserves/$RESERVE_PUB/batch-withdraw requests
+ * @file taler-exchange-httpd_withdraw.c
+ * @brief Common logic for withdraw operations
* @author Florian Dold
* @author Benedikt Mueller
* @author Christian Grothoff
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 87/151: skeleton, (continued)
- [taler-exchange] 87/151: skeleton, gnunet, 2024/07/30
- [taler-exchange] 78/151: WIP: kyc-start, gnunet, 2024/07/30
- [taler-exchange] 47/151: -towards having 3 SPAs, gnunet, 2024/07/30
- [taler-exchange] 112/151: more bugfixes, gnunet, 2024/07/30
- [taler-exchange] 24/151: fix purses_merge, gnunet, 2024/07/30
- [taler-exchange] 22/151: basic refactoring of httpd for new AML, incomplete, gnunet, 2024/07/30
- [taler-exchange] 27/151: -fix more build issues, gnunet, 2024/07/30
- [taler-exchange] 98/151: add logic to parse measures from configuration, gnunet, 2024/07/30
- [taler-exchange] 35/151: fix FTBFS, gnunet, 2024/07/30
- [taler-exchange] 79/151: -bump gana, gnunet, 2024/07/30
- [taler-exchange] 89/151: -improve logging,
gnunet <=
- [taler-exchange] 80/151: -fix FTBFS of new kyc-start logic, gnunet, 2024/07/30
- [taler-exchange] 90/151: pass h_payto, gnunet, 2024/07/30
- [taler-exchange] 106/151: -fixing minor bugs, gnunet, 2024/07/30
- [taler-exchange] 59/151: -implement GET "/aml/$PUB/attributes/$H_PAYTO", gnunet, 2024/07/30
- [taler-exchange] 95/151: -fix auditor insanity, gnunet, 2024/07/30
- [taler-exchange] 53/151: work on kyc-info endpoint, gnunet, 2024/07/30
- [taler-exchange] 44/151: -bump gana, gnunet, 2024/07/30
- [taler-exchange] 113/151: wip, gnunet, 2024/07/30
- [taler-exchange] 105/151: fix kyc trigger SQL logic, gnunet, 2024/07/30
- [taler-exchange] 110/151: add new CMDs for KYC info+start, gnunet, 2024/07/30