report which command failed

This commit is contained in:
Christian Grothoff 2018-04-02 17:16:04 +02:00
parent e098dbf4dc
commit 2b0f98dd4b
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -158,7 +158,13 @@ void
TALER_TESTING_interpreter_fail TALER_TESTING_interpreter_fail
(struct TALER_TESTING_Interpreter *is) (struct TALER_TESTING_Interpreter *is)
{ {
struct TALER_TESTING_Command *cmd = &is->commands[is->ip];
// FIXME: disconnect from the exchange. // FIXME: disconnect from the exchange.
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed at command `%s'\n",
cmd->label);
is->result = GNUNET_SYSERR; is->result = GNUNET_SYSERR;
// this cleans up too. // this cleans up too.
GNUNET_SCHEDULER_shutdown (); GNUNET_SCHEDULER_shutdown ();