[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
- [GNUnet-SVN] [taler-exchange] branch master updated (1b3bf1a -> 202827e), gnunet, 2018/04/15
- [GNUnet-SVN] [taler-exchange] 06/08: report which command failed,
gnunet <=
- [GNUnet-SVN] [taler-exchange] 04/08: fix NULL termination of fee list, gnunet, 2018/04/15
- [GNUnet-SVN] [taler-exchange] 05/08: get filename instead of get_string, nicify some strings, gnunet, 2018/04/15
- [GNUnet-SVN] [taler-exchange] 08/08: merging Florian's changes with my wire changes, gnunet, 2018/04/15
- [GNUnet-SVN] [taler-exchange] 03/08: fix post-merge FTBFS, gnunet, 2018/04/15
- [GNUnet-SVN] [taler-exchange] 01/08: modify wire plugin load logic to use reference counting, gnunet, 2018/04/15
- [GNUnet-SVN] [taler-exchange] 07/08: allow auditor to operate per-account, gnunet, 2018/04/15
- [GNUnet-SVN] [taler-exchange] 02/08: Changing configuration structure to enable multiple accounts., gnunet, 2018/04/15