gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] 42/93: print URI sent to wallet for diagnostics


From: gnunet
Subject: [taler-taler-mdb] 42/93: print URI sent to wallet for diagnostics
Date: Mon, 18 Nov 2019 21:13:05 +0100

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository taler-mdb.

commit ab73d7c08c677f449f2a3710934166683a4cfa12
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Nov 10 22:54:05 2019 +0100

    print URI sent to wallet for diagnostics
---
 src/main.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index 4b82e9a..86540f9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -254,7 +254,8 @@ wallet_transmit_uri (void *cls)
   memcpy (message, put_data, sizeof (put_data));
   memcpy (&message[sizeof (put_data)], pa->taler_pay_uri, slen);
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-              "Sending 'PUT DATA' command to wallet\n");
+              "Sending 'PUT DATA' command for `%s' to wallet\n",
+              pa->taler_pay_uri);
   if (0 > nfc_initiator_transceive_bytes (pa->pnd,
                                           message,
                                           sizeof (message),
@@ -263,7 +264,8 @@ wallet_transmit_uri (void *cls)
                                           NFC_TIMEOUT))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Failed to send command\n");                     /* Has this 
to be an error ? */
+                "Failed to send command\n");
+    /* Has this to be an error ? */
     pa->task = GNUNET_SCHEDULER_add_now (&connect_target,
                                          pa);
     return;
@@ -378,7 +380,7 @@ connect_target (void *cls)
             (pa->nt.nti.nai.szUidLen < UID_LEN_LOWER) )
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Failed to connect, wrong nfc modulation\n");
+                "Failed to connect, wrong NFC modulation\n");
     SNACK_print_hex_info ("UID",
                           pa->nt.nti.nai.abtUid,
                           pa->nt.nti.nai.szUidLen);
@@ -540,6 +542,9 @@ proposal_cb (void *cls,
     payment_activity = NULL;
     return;
   }
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+              "Backend successfully created order `%s'\n",
+              order_id);
   pa->order_id = GNUNET_strdup (order_id);
   pa->cpo = TALER_MERCHANT_check_payment (ctx,
                                           backendBaseUrl,

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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