gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 06/08: report which command failed


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 06/08: report which command failed
Date: Sun, 15 Apr 2018 12:20:50 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

commit 2b0f98dd4b875ed0f7f833c377197265fa11384e
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Apr 2 17:16:04 2018 +0200

    report which command failed
---
 src/exchange-lib/testing_api_loop.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/exchange-lib/testing_api_loop.c 
b/src/exchange-lib/testing_api_loop.c
index 592843b..7efadb3 100644
--- a/src/exchange-lib/testing_api_loop.c
+++ b/src/exchange-lib/testing_api_loop.c
@@ -158,7 +158,13 @@ void
 TALER_TESTING_interpreter_fail
   (struct TALER_TESTING_Interpreter *is)
 {
+  struct TALER_TESTING_Command *cmd = &is->commands[is->ip];
+
   // FIXME: disconnect from the exchange.
+  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+              "Failed at command `%s'\n",
+              cmd->label);
+
   is->result = GNUNET_SYSERR;
   // this cleans up too.
   GNUNET_SCHEDULER_shutdown ();
@@ -473,7 +479,7 @@ cert_cb (void *cls,
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "Got NULL response for /keys\n");
-  
+
   }
   else
     GNUNET_log (GNUNET_ERROR_TYPE_INFO,
@@ -482,7 +488,7 @@ cert_cb (void *cls,
 
   main_ctx->is->key_generation++;
   main_ctx->is->keys = keys;
-  
+
   /* /keys has been called for some reason and
    * the interpreter is already running. */
   if (GNUNET_YES == main_ctx->is->working)

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



reply via email to

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