log URL in error message (fixes #7725)

This commit is contained in:
Christian Grothoff 2023-03-08 12:04:33 +01:00
parent 890c962817
commit 90664b555c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -168,9 +168,10 @@ handle_reserves_get_finished (void *cls,
rs.hr.ec = TALER_JSON_get_error_code (j); rs.hr.ec = TALER_JSON_get_error_code (j);
rs.hr.hint = TALER_JSON_get_error_hint (j); rs.hr.hint = TALER_JSON_get_error_hint (j);
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Unexpected response code %u/%d for reserves get\n", "Unexpected response code %u/%d for GET %s\n",
(unsigned int) response_code, (unsigned int) response_code,
(int) rs.hr.ec); (int) rs.hr.ec,
rgh->url);
break; break;
} }
if (NULL != rgh->cb) if (NULL != rgh->cb)