Add URL to feed error message (#4)
This commit is contained in:
parent
480228013c
commit
d9dc3ec361
|
@ -74,7 +74,7 @@ class Feed {
|
|||
$result['url'] = curl_getinfo($feedReq, CURLINFO_EFFECTIVE_URL);
|
||||
}
|
||||
} else {
|
||||
$result['error'] = "HTTP Code $code: $feedContent";
|
||||
$result['error'] = "Prospective feed URL $url returned HTTP Code $code: $feedContent";
|
||||
}
|
||||
|
||||
curl_close($feedReq);
|
||||
|
|
Loading…
Reference in New Issue
Block a user