X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=classes%2Frssutils.php;h=bffc41c6f1359df4cceee8d6dd40ca9f73be231a;hb=62d0060aa1812022718d01b47b14dfd0acda9f1a;hp=5a1a9467c804148eb931b93d4df6fb5e78491da0;hpb=01d22e255f7a026bb0b0324cde1d8a8756c84a20;p=tt-rss.git diff --git a/classes/rssutils.php b/classes/rssutils.php index 5a1a9467..bffc41c6 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -187,7 +187,12 @@ class RSSUtils { array_push($batch_owners, $tline["owner_uid"]); $fstarted = microtime(true); - RSSUtils::update_rss_feed($tline["id"], true, false); + + try { + RSSUtils::update_rss_feed($tline["id"], true, false); + } catch (PDOException $e) { + Logger::get()->log_error(E_USER_NOTICE, $e->getMessage(), $e->getFile(), $e->getLine(), $e->getTraceAsString()); + } _debug_suppress(false); _debug(sprintf(" %.4f (sec)", microtime(true) - $fstarted));