Add URL to feed error message (#4)

This commit is contained in:
Daniel J. Summers 2024-04-12 18:29:25 -04:00
parent 480228013c
commit d9dc3ec361

View File

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