From 4b9fb610d81c47fbd8613cb71a4f25ce6b2d2993 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 20 Dec 2020 20:03:59 +0100 Subject: do not log error on MHD_HTTP_GONE status code, revocation is a legitimate reply --- src/lib/exchange_api_handle.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/exchange_api_handle.c') diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index 49af08b1..f45025d0 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -790,6 +790,9 @@ decode_keys_json (const json_t *resp_obj, GNUNET_break_op (0); return GNUNET_SYSERR; } + json_dumpf (resp_obj, + stderr, + JSON_INDENT (2)); /* check the version */ { const char *ver; @@ -2023,6 +2026,9 @@ TALER_EXCHANGE_test_signing_key (const struct TALER_EXCHANGE_Keys *keys, (0 == GNUNET_memcmp (pub, &keys->sign_keys[i].key)) ) return GNUNET_OK; + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Signing key not valid at time %llu\n", + (unsigned long long) now.abs_value_us); return GNUNET_SYSERR; } -- cgit v1.2.3