gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: expand logging of w


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: expand logging of wirewatch shutdown
Date: Wed, 04 Apr 2018 17:04:53 +0200

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 f9a86ba  expand logging of wirewatch shutdown
f9a86ba is described below

commit f9a86ba5dc017036cf927b40431073473c9c4245
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Apr 4 17:04:51 2018 +0200

    expand logging of wirewatch shutdown
---
 src/exchange/taler-exchange-wirewatch.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/exchange/taler-exchange-wirewatch.c 
b/src/exchange/taler-exchange-wirewatch.c
index f650690..508f8c3 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -246,10 +246,10 @@ reject_cb (void *cls,
   rt = NULL;
   if (TALER_EC_NONE != ec)
   {
-    fprintf (stderr,
-             "Failed to wire back transfer `%s': %d\n",
-             rtc->wtid_s,
-             ec);
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                "Failed to wire back transfer `%s': %d\n",
+                rtc->wtid_s,
+                ec);
     GNUNET_free (rtc->wtid_s);
     db_plugin->rollback (db_plugin->cls,
                         rtc->session);
@@ -312,6 +312,8 @@ history_cb (void *cls,
     if ( (GNUNET_YES == delay) &&
          (test_mode) )
     {
+      GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                  "Shutdown due to test mode!\n");
       GNUNET_SCHEDULER_shutdown ();
       return GNUNET_OK;
     }

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



reply via email to

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