gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 04/07: diagnostics


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 04/07: diagnostics
Date: Fri, 18 May 2018 17:25:16 +0200

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

marcello pushed a commit to branch master
in repository exchange.

commit e746e0bbbc4439e07c1217c6f12110638a8ea565
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri May 18 14:49:56 2018 +0200

    diagnostics
---
 src/exchange/taler-exchange-httpd_responses.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/exchange/taler-exchange-httpd_responses.c 
b/src/exchange/taler-exchange-httpd_responses.c
index 99ee08a..f13352e 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -148,6 +148,13 @@ TEH_RESPONSE_reply_json (struct MHD_Connection *connection,
                         JSON_INDENT(2));
   if (NULL == json_str)
   {
+    /**
+     * This log helps to figure out which
+     * function called this one and assert-failed.
+     */
+    TALER_LOG_ERROR ("Aborting json-packing for HTTP code: %u\n",
+                     response_code);
+
     GNUNET_assert (0);
     return MHD_NO;
   }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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