aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-wirewatch.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-04-16 15:17:15 +0200
committerChristian Grothoff <christian@grothoff.org>2023-04-16 15:17:15 +0200
commitc32bc2f5ec9a64922a6da52df8e4c0ce3842bb5c (patch)
treefb877e9480a2b006d1e08f2c1dba3659aec9dcdb /src/backend/taler-merchant-wirewatch.c
parente62e75939f6f3f9c048a0f8c88e82e5f2cd62874 (diff)
downloadmerchant-c32bc2f5ec9a64922a6da52df8e4c0ce3842bb5c.tar.gz
merchant-c32bc2f5ec9a64922a6da52df8e4c0ce3842bb5c.tar.bz2
merchant-c32bc2f5ec9a64922a6da52df8e4c0ce3842bb5c.zip
log more diagnostics
Diffstat (limited to 'src/backend/taler-merchant-wirewatch.c')
-rw-r--r--src/backend/taler-merchant-wirewatch.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-wirewatch.c b/src/backend/taler-merchant-wirewatch.c
index 2adffe36..7772befa 100644
--- a/src/backend/taler-merchant-wirewatch.c
+++ b/src/backend/taler-merchant-wirewatch.c
@@ -266,6 +266,10 @@ credit_cb (
char *exchange_url;
struct TALER_WireTransferIdentifierRawP wtid;
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Received wire transfer `%s' over %s\n",
+ details->wire_subject,
+ TALER_amount2s (&details->amount));
found = true;
if (GNUNET_OK !=
parse_subject (details->wire_subject,
@@ -286,6 +290,13 @@ credit_cb (
&details->amount,
details->credit_account_uri,
true /* confirmed */);
+ if (0 == qs)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Inserting transfer for %s into database failed. Is the credit account %s configured correctly?\n",
+ instance_id,
+ details->credit_account_uri);
+ }
GNUNET_free (exchange_url);
if (qs < 0)
{