if (CURLMSG_DONE == msg->msg) {
if (CURLE_OK != msg->data.result) {
http_request_pool_try {
- http_error(HE_WARNING, HTTP_E_REQUEST, curl_easy_strerror(msg->data.result));
+ char *url = NULL;
+ curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, &url);
+ http_error_ex(HE_WARNING, HTTP_E_REQUEST, "%s (%s)", curl_easy_strerror(msg->data.result), url);
} http_request_pool_catch();
}
http_request_pool_try {