[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -more logging
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -more logging |
Date: |
Sun, 12 Nov 2023 13:28:57 +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 efb7a46b -more logging
efb7a46b is described below
commit efb7a46b786807994a66040f2d9c831e790b92a1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Nov 12 12:28:53 2023 +0100
-more logging
---
src/exchange/taler-exchange-httpd_kyc-check.c | 2 +-
src/exchangedb/pg_update_kyc_process_by_row.c | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-httpd_kyc-check.c
b/src/exchange/taler-exchange-httpd_kyc-check.c
index be62f6d8..b55f0a9a 100644
--- a/src/exchange/taler-exchange-httpd_kyc-check.c
+++ b/src/exchange/taler-exchange-httpd_kyc-check.c
@@ -261,7 +261,7 @@ initiate_cb (
provider_user_id,
provider_legitimization_id,
GNUNET_TIME_UNIT_ZERO_ABS);
- if (qs < 0)
+ if (qs <= 0)
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"KYC requirement update failed for %s with status %d at
%s:%u\n",
TALER_B2S (&kyp->h_payto),
diff --git a/src/exchangedb/pg_update_kyc_process_by_row.c
b/src/exchangedb/pg_update_kyc_process_by_row.c
index 711f4780..9f8a18cf 100644
--- a/src/exchangedb/pg_update_kyc_process_by_row.c
+++ b/src/exchangedb/pg_update_kyc_process_by_row.c
@@ -51,6 +51,10 @@ TEH_PG_update_kyc_process_by_row (
};
enum GNUNET_DB_QueryStatus qs;
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Updating KYC data for %llu (%s)\n",
+ (unsigned long long) process_row,
+ provider_section);
PREPARE (pg,
"update_legitimization_process",
"UPDATE legitimization_processes"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.