[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix #9382
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix #9382 |
Date: |
Wed, 11 Dec 2024 21:43:29 +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 550a9adee fix #9382
550a9adee is described below
commit 550a9adee3a7307b7a0d8bffa5f5b15fec9452b6
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Dec 11 21:43:26 2024 +0100
fix #9382
---
src/exchange/taler-exchange-httpd_common_kyc.c | 6 +++++-
src/exchangedb/pg_insert_aml_program_failure.c | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c
b/src/exchange/taler-exchange-httpd_common_kyc.c
index ff8e7fe37..74c7f137c 100644
--- a/src/exchange/taler-exchange-httpd_common_kyc.c
+++ b/src/exchange/taler-exchange-httpd_common_kyc.c
@@ -1043,7 +1043,11 @@ legi_check_aml_trigger_cb (
lch->kat = NULL;
if (TALER_EC_NONE != ec)
{
- GNUNET_break (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "AML program failed: %s (%s, %d)\n",
+ TALER_ErrorCode_get_hint (ec),
+ detail,
+ (int) ec);
lch->lcr.http_status = MHD_HTTP_INTERNAL_SERVER_ERROR;
lch->lcr.response = TALER_MHD_make_error (
ec,
diff --git a/src/exchangedb/pg_insert_aml_program_failure.c
b/src/exchangedb/pg_insert_aml_program_failure.c
index 20880a91d..897dbefc0 100644
--- a/src/exchangedb/pg_insert_aml_program_failure.c
+++ b/src/exchangedb/pg_insert_aml_program_failure.c
@@ -49,8 +49,8 @@ TEH_PG_insert_aml_program_failure (
struct GNUNET_PQ_QueryParam params[] = {
GNUNET_PQ_query_param_uint64 (&process_row),
GNUNET_PQ_query_param_auto_from_type (h_payto),
- GNUNET_PQ_query_param_uint32 (&ec32),
GNUNET_PQ_query_param_timestamp (&now),
+ GNUNET_PQ_query_param_uint32 (&ec32),
GNUNET_PQ_query_param_string (error_message),
GNUNET_PQ_query_param_string (kyc_completed_notify_s),
GNUNET_PQ_query_param_end
@@ -61,7 +61,7 @@ TEH_PG_insert_aml_program_failure (
"insert_aml_program_failure",
"SELECT out_update"
" FROM exchange_do_insert_aml_program_failure"
- " ($1, $2, $3, $4);");
+ " ($1, $2, $3, $4, $5, $6);");
qs = GNUNET_PQ_eval_prepared_non_select (pg->conn,
"insert_aml_program_failure",
params);
--
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 #9382,
gnunet <=