summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-26 12:38:54 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-26 12:38:54 +0100
commit6cd6582a4fd20aafcb595d52b506d2e2a973b2ee (patch)
tree6402af1316b8cfb1a1051da323dba1f590e4b0e8 /src
parent04de6bcbb44c5ee4ab5a75190b6fa09b3ecc7dd7 (diff)
downloadexchange-6cd6582a4fd20aafcb595d52b506d2e2a973b2ee.tar.gz
exchange-6cd6582a4fd20aafcb595d52b506d2e2a973b2ee.tar.bz2
exchange-6cd6582a4fd20aafcb595d52b506d2e2a973b2ee.zip
improve logging
Diffstat (limited to 'src')
-rw-r--r--src/lib/exchange_api_handle.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index ee7aea3f..553a44bf 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);