From 7188eaf8e3931333bc37c2ca89f140c632f45897 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 18 May 2022 21:26:26 +0200 Subject: -log more details --- src/json/json_helper.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/json/json_helper.c') diff --git a/src/json/json_helper.c b/src/json/json_helper.c index c0513c529..def26afb8 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -66,6 +66,9 @@ parse_fixed_data (void *cls, if (((len * 5) / 8) != spec->ptr_size) { GNUNET_break_op (0); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Field `%s' has wrong length\n", + spec->field); return GNUNET_SYSERR; } if (GNUNET_OK != -- cgit v1.2.3