update_rss_feed: log warning when attempting to update unknown feed
This commit is contained in:
parent
2f1a29d9c8
commit
638fdf732a
|
@ -318,6 +318,7 @@
|
||||||
|
|
||||||
if (db_num_rows($result) == 0) {
|
if (db_num_rows($result) == 0) {
|
||||||
_debug("feed $feed NOT FOUND/SKIPPED", $debug_enabled);
|
_debug("feed $feed NOT FOUND/SKIPPED", $debug_enabled);
|
||||||
|
user_error("Attempt to update unknown/invalid feed $feed", E_USER_WARNING);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue