From 6cd6582a4fd20aafcb595d52b506d2e2a973b2ee Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 Jan 2021 12:38:54 +0100 Subject: [PATCH] improve logging --- src/lib/exchange_api_handle.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index ee7aea3fd..553a44bfe 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -1323,7 +1323,10 @@ parse_date_string (const char *date, ( (*end != '\n') && (*end != '\r') ) ) { - GNUNET_break_op (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Could not parse date input `%s', failure at `%s'\n", + date, + end); return GNUNET_SYSERR; } t = mktime (&now);