[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -improve error reporting

From: gnunet
Subject: [gnunet] branch master updated: -improve error reporting
Date: Sun, 18 Jul 2021 14:29:20 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c88b585cf -improve error reporting
c88b585cf is described below

commit c88b585cfd93e2ba517b2b1a53375d9795c171e2
Author: Christian Grothoff <>
AuthorDate: Sun Jul 18 14:26:08 2021 +0200

    -improve error reporting
 src/json/json.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/json/json.c b/src/json/json.c
index 503702962..d55189804 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -1,6 +1,6 @@
    This file is part of GNUnet
-   Copyright (C) 2014-2017 GNUnet e.V.
+   Copyright (C) 2014-2017, 2021 GNUnet e.V.
    GNUnet is free software: you can redistribute it and/or modify it
    under the terms of the GNU Affero General Public License as published
@@ -70,6 +70,11 @@ GNUNET_JSON_parse (const json_t *root,
       if (NULL != error_json_name)
         *error_json_name = spec[i].field;
+      else
+                    "Parsing failed for field `%s:%u`\n",
+                    spec[i].field,
+                    i);
       if (NULL != error_line)
         *error_line = i;
       GNUNET_JSON_parse_free (spec);

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]