diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-11-12 12:28:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-11-12 12:28:53 +0100 |
commit | efb7a46b786807994a66040f2d9c831e790b92a1 (patch) | |
tree | e8b8216b08ff9cac0d08f681e994f20ae02abbe4 | |
parent | aa9964b78216ff7f0d11ae086ff3d3fa62d4a09b (diff) |
-more logging
-rw-r--r-- | src/exchange/taler-exchange-httpd_kyc-check.c | 2 | ||||
-rw-r--r-- | src/exchangedb/pg_update_kyc_process_by_row.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_kyc-check.c b/src/exchange/taler-exchange-httpd_kyc-check.c index be62f6d8e..b55f0a9a8 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 711f47802..9f8a18cf7 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" |