summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-09 21:10:56 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-09 21:10:56 +0200
commitc51b19512bfc5bf3848211e6a4e9f3534ece7ee2 (patch)
tree46f5506ca113129e5a36897be25ca898a08c6866 /src/exchange-lib/testing_api_cmd_deposit.c
parente3f7083b3eb39ed28eee27b6104a3a508437c929 (diff)
downloadexchange-c51b19512bfc5bf3848211e6a4e9f3534ece7ee2.tar.gz
exchange-c51b19512bfc5bf3848211e6a4e9f3534ece7ee2.tar.bz2
exchange-c51b19512bfc5bf3848211e6a4e9f3534ece7ee2.zip
report ore precisely where commands went wrong
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_deposit.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_deposit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/exchange-lib/testing_api_cmd_deposit.c b/src/exchange-lib/testing_api_cmd_deposit.c
index 4060e660b..c07e8fbb5 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;