diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-09 21:12:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-09 21:12:12 +0200 |
commit | 819f2d44280376048aba63248369d2d999ac1b6e (patch) | |
tree | b35e22ef8dc11d9c4f77c6e2d16642b61ae3928d /src/exchange-lib/testing_api_cmd_refresh.c | |
parent | c51b19512bfc5bf3848211e6a4e9f3534ece7ee2 (diff) |
report ore precisely what went wrong
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_refresh.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_refresh.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_cmd_refresh.c b/src/exchange-lib/testing_api_cmd_refresh.c index a7cd2e65..0f8e5fc4 100644 --- a/src/exchange-lib/testing_api_cmd_refresh.c +++ b/src/exchange-lib/testing_api_cmd_refresh.c @@ -232,8 +232,9 @@ reveal_cb (void *cls, if (rrs->expected_response_code != http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Unexpected response code %u to command %s in %s:%u\n", + "Unexpected response code %u/%d to command %s in %s:%u\n", http_status, + (int) ec, rrs->is->commands[rrs->is->ip].label, __FILE__, __LINE__); @@ -402,8 +403,9 @@ link_cb (void *cls, if (rls->expected_response_code != http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Unexpected response code %u to command %s in %s:%u\n", + "Unexpected response code %u/%d to command %s in %s:%u\n", http_status, + (int) ec, link_cmd->label, __FILE__, __LINE__); @@ -633,8 +635,9 @@ melt_cb (void *cls, if (rms->expected_response_code != http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Unexpected response code %u to command %s in %s:%u\n", + "Unexpected response code %u/%d to command %s in %s:%u\n", http_status, + (int) ec, rms->is->commands[rms->is->ip].label, __FILE__, __LINE__); |