From c51b19512bfc5bf3848211e6a4e9f3534ece7ee2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 Aug 2018 21:10:56 +0200 Subject: report ore precisely where commands went wrong --- src/exchange-lib/testing_api_cmd_deposit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/exchange-lib/testing_api_cmd_deposit.c') diff --git a/src/exchange-lib/testing_api_cmd_deposit.c b/src/exchange-lib/testing_api_cmd_deposit.c index 4060e660..c07e8fbb 100644 --- a/src/exchange-lib/testing_api_cmd_deposit.c +++ b/src/exchange-lib/testing_api_cmd_deposit.c @@ -121,9 +121,11 @@ deposit_cb (void *cls, if (ds->expected_response_code != http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Unexpected response code %u to command %s\n", + "Unexpected response code %u to command %s in %s:%u\n", http_status, - ds->is->commands[ds->is->ip].label); + ds->is->commands[ds->is->ip].label, + __FILE__, + __LINE__); json_dumpf (obj, stderr, 0); TALER_TESTING_interpreter_fail (ds->is); return; -- cgit v1.2.3