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_withdraw.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_withdraw.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_withdraw.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c index 1ee0e3b5e..c36d116e9 100644 --- a/src/exchange-lib/testing_api_cmd_withdraw.c +++ b/src/exchange-lib/testing_api_cmd_withdraw.c @@ -120,9 +120,11 @@ reserve_withdraw_cb (void *cls, if (ws->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, - TALER_TESTING_interpreter_get_current_label (is)); + TALER_TESTING_interpreter_get_current_label (is), + __FILE__, + __LINE__); json_dumpf (full_response, stderr, 0); @@ -269,7 +271,7 @@ withdraw_traits (void *cls, { GNUNET_break (0); TALER_TESTING_interpreter_fail (ws->is); - return GNUNET_SYSERR; + return GNUNET_SYSERR; } if (GNUNET_OK != TALER_TESTING_get_trait_reserve_priv @@ -277,7 +279,7 @@ withdraw_traits (void *cls, { GNUNET_break (0); TALER_TESTING_interpreter_fail (ws->is); - return GNUNET_SYSERR; + return GNUNET_SYSERR; } struct TALER_TESTING_Trait traits[] = { |