aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-04 17:04:51 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-04 17:04:51 +0200
commitf9a86ba5dc017036cf927b40431073473c9c4245 (patch)
treea11ced83c3a136a35fd2179c074724656abd33de /src
parent081ffe994a6d39cbd332eefe6f58f8015154e4cb (diff)
expand logging of wirewatch shutdown
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-wirewatch.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index f650690de..508f8c32b 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;
}