report ore precisely what went wrong

This commit is contained in:
Christian Grothoff 2018-08-09 21:12:12 +02:00
parent c51b19512b
commit 819f2d4428
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 8 additions and 4 deletions

View File

@ -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__);

View File

@ -120,8 +120,9 @@ 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 in %s:%u\n",
"Unexpected response code %u/%d to command %s in %s:%u\n",
http_status,
(int) ec,
TALER_TESTING_interpreter_get_current_label (is),
__FILE__,
__LINE__);