daemon extended debug: report when entry iterator is invalid

This commit is contained in:
Andrew Dolgov 2007-05-21 06:59:47 +01:00
parent f2cc8a9036
commit 844012bc8f
1 changed files with 4 additions and 0 deletions

View File

@ -517,6 +517,10 @@
// clear any errors and mark feed as updated if fetched okay
// 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
SET last_updated = NOW(), last_error = '' WHERE id = '$feed'");