gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix logging


From: gnunet
Subject: [taler-exchange] branch master updated: -fix logging
Date: Wed, 10 May 2023 01:21:55 +0200

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 5259ea05 -fix logging
5259ea05 is described below

commit 5259ea05321783a177cab9e30f77cb3dc6f54049
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed May 10 01:21:52 2023 +0200

    -fix logging
---
 src/exchange/taler-exchange-httpd.c        | 1 -
 src/lib/exchange_api_lookup_aml_decision.c | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-httpd.c 
b/src/exchange/taler-exchange-httpd.c
index 6c6398bc..7e11655c 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -542,7 +542,6 @@ handle_get_aml (struct TEH_RequestContext *rc,
                                          TALER_EC_GENERIC_DB_FETCH_FAILED,
                                          NULL);
     case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS:
-      GNUNET_break_op (0);
       return TALER_MHD_reply_with_error (rc->connection,
                                          MHD_HTTP_FORBIDDEN,
                                          
TALER_EC_EXCHANGE_GENERIC_AML_OFFICER_ACCESS_DENIED,
diff --git a/src/lib/exchange_api_lookup_aml_decision.c 
b/src/lib/exchange_api_lookup_aml_decision.c
index 39d53c51..9e20c83b 100644
--- a/src/lib/exchange_api_lookup_aml_decision.c
+++ b/src/lib/exchange_api_lookup_aml_decision.c
@@ -256,6 +256,8 @@ handle_lookup_finished (void *cls,
     GNUNET_assert (NULL == lh->decision_cb);
     TALER_EXCHANGE_lookup_aml_decision_cancel (lh);
     return;
+  case MHD_HTTP_NO_CONTENT:
+    break;
   case MHD_HTTP_BAD_REQUEST:
     lr.hr.ec = TALER_JSON_get_error_code (j);
     lr.hr.hint = TALER_JSON_get_error_hint (j);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]