From bfd0a9625436f07a5c2b2d8b397525107da97ddb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 28 Jan 2021 21:23:16 +0100 Subject: improve test logging --- src/util/crypto_helper_denom.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util/crypto_helper_denom.c') diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c index 0545863d1..a70d071de 100644 --- a/src/util/crypto_helper_denom.c +++ b/src/util/crypto_helper_denom.c @@ -518,6 +518,8 @@ TALER_CRYPTO_helper_denom_sign ( try_connect (dh); if (-1 == dh->sock) { + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Failed to connect to helper\n"); *ec = TALER_EC_EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE; return ds; } @@ -556,6 +558,8 @@ TALER_CRYPTO_helper_denom_sign ( if (! await_read_ready (dh)) { do_disconnect (dh); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Timeout waiting for helper\n"); *ec = TALER_EC_GENERIC_TIMEOUT; return ds; } -- cgit v1.2.3