daemon extended debug: report when entry iterator is invalid
This commit is contained in:
parent
f2cc8a9036
commit
844012bc8f
|
@ -517,6 +517,10 @@
|
||||||
// clear any errors and mark feed as updated if fetched okay
|
// clear any errors and mark feed as updated if fetched okay
|
||||||
// even if it's blank
|
// even if it's blank
|
||||||
|
|
||||||
|
if (defined('DAEMON_EXTENDED_DEBUG')) {
|
||||||
|
_debug("update_rss_feed: entry iterator is not an array, no articles?");
|
||||||
|
}
|
||||||
|
|
||||||
db_query($link, "UPDATE ttrss_feeds
|
db_query($link, "UPDATE ttrss_feeds
|
||||||
SET last_updated = NOW(), last_error = '' WHERE id = '$feed'");
|
SET last_updated = NOW(), last_error = '' WHERE id = '$feed'");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue