report which command failed
This commit is contained in:
parent
e098dbf4dc
commit
2b0f98dd4b
@ -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 ();
|
||||||
@ -473,7 +479,7 @@ cert_cb (void *cls,
|
|||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
||||||
"Got NULL response for /keys\n");
|
"Got NULL response for /keys\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||||
@ -482,7 +488,7 @@ cert_cb (void *cls,
|
|||||||
|
|
||||||
main_ctx->is->key_generation++;
|
main_ctx->is->key_generation++;
|
||||||
main_ctx->is->keys = keys;
|
main_ctx->is->keys = keys;
|
||||||
|
|
||||||
/* /keys has been called for some reason and
|
/* /keys has been called for some reason and
|
||||||
* the interpreter is already running. */
|
* the interpreter is already running. */
|
||||||
if (GNUNET_YES == main_ctx->is->working)
|
if (GNUNET_YES == main_ctx->is->working)
|
||||||
|
Loading…
Reference in New Issue
Block a user