From f30382cd3f8d2f0d6c101096796627b94e758272 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 4 Jul 2023 21:08:44 +0200 Subject: -more logging --- src/json/json_pack.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/json/json_pack.c') diff --git a/src/json/json_pack.c b/src/json/json_pack.c index 8fc806086..9ffea7cb0 100644 --- a/src/json/json_pack.c +++ b/src/json/json_pack.c @@ -45,6 +45,9 @@ GNUNET_JSON_pack_ (struct GNUNET_JSON_PackSpec spec[]) { if (NULL == spec[i].object) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "NULL not allowed for `%s'\n", + spec[i].field_name); GNUNET_assert (spec[i].allow_null); } else -- cgit v1.2.3