gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 01/02: report ore precisely what went wron


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 01/02: report ore precisely what went wrong
Date: Thu, 09 Aug 2018 21:15:35 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

commit 819f2d44280376048aba63248369d2d999ac1b6e
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Aug 9 21:12:12 2018 +0200

    report ore precisely what went wrong
---
 src/exchange-lib/testing_api_cmd_refresh.c  | 9 ++++++---
 src/exchange-lib/testing_api_cmd_withdraw.c | 3 ++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/exchange-lib/testing_api_cmd_refresh.c 
b/src/exchange-lib/testing_api_cmd_refresh.c
index a7cd2e6..0f8e5fc 100644
--- a/src/exchange-lib/testing_api_cmd_refresh.c
+++ b/src/exchange-lib/testing_api_cmd_refresh.c
@@ -232,8 +232,9 @@ reveal_cb (void *cls,
   if (rrs->expected_response_code != http_status)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Unexpected response code %u to command %s in %s:%u\n",
+                "Unexpected response code %u/%d to command %s in %s:%u\n",
                 http_status,
+                (int) ec,
                 rrs->is->commands[rrs->is->ip].label,
                 __FILE__,
                 __LINE__);
@@ -402,8 +403,9 @@ link_cb (void *cls,
   if (rls->expected_response_code != http_status)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Unexpected response code %u to command %s in %s:%u\n",
+                "Unexpected response code %u/%d to command %s in %s:%u\n",
                 http_status,
+                (int) ec,
                 link_cmd->label,
                 __FILE__,
                 __LINE__);
@@ -633,8 +635,9 @@ melt_cb (void *cls,
   if (rms->expected_response_code != http_status)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Unexpected response code %u to command %s in %s:%u\n",
+                "Unexpected response code %u/%d to command %s in %s:%u\n",
                 http_status,
+                (int) ec,
                 rms->is->commands[rms->is->ip].label,
                 __FILE__,
                 __LINE__);
diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c 
b/src/exchange-lib/testing_api_cmd_withdraw.c
index c36d116..35c5a50 100644
--- a/src/exchange-lib/testing_api_cmd_withdraw.c
+++ b/src/exchange-lib/testing_api_cmd_withdraw.c
@@ -120,8 +120,9 @@ reserve_withdraw_cb (void *cls,
   if (ws->expected_response_code != http_status)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Unexpected response code %u to command %s in %s:%u\n",
+                "Unexpected response code %u/%d to command %s in %s:%u\n",
                 http_status,
+                (int) ec,
                 TALER_TESTING_interpreter_get_current_label (is),
                 __FILE__,
                 __LINE__);

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



reply via email to

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