diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-09 21:10:56 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-09 21:10:56 +0200 |
commit | c51b19512bfc5bf3848211e6a4e9f3534ece7ee2 (patch) | |
tree | 46f5506ca113129e5a36897be25ca898a08c6866 /src/exchange-lib/testing_api_cmd_status.c | |
parent | e3f7083b3eb39ed28eee27b6104a3a508437c929 (diff) | |
download | exchange-c51b19512bfc5bf3848211e6a4e9f3534ece7ee2.tar.xz |
report ore precisely where commands went wrong
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_status.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_status.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/exchange-lib/testing_api_cmd_status.c b/src/exchange-lib/testing_api_cmd_status.c index 1e5f6710d..41144d3d8 100644 --- a/src/exchange-lib/testing_api_cmd_status.c +++ b/src/exchange-lib/testing_api_cmd_status.c @@ -95,8 +95,10 @@ reserve_status_cb if (ss->expected_response_code != http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Unexpected HTTP response code: %d\n", - http_status); + "Unexpected HTTP response code: %d in %s:%u\n", + http_status, + __FILE__, + __LINE__); TALER_TESTING_interpreter_fail (ss->is); return; } |