1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 23:15:57 +00:00

check for backend-returned fatal errors in major callbacks

This commit is contained in:
Andrew Dolgov
2009-01-31 23:03:40 +03:00
parent 0002bc9f27
commit 2184738a44
3 changed files with 25 additions and 17 deletions

View File

@@ -67,6 +67,8 @@ function headlines_callback2(transport, feed_cur_page) {
debug("headlines_callback2 [page=" + feed_cur_page + "]");
if (!transport_error_check(transport)) return;
clean_feed_selections();
var is_cat = false;
@@ -327,6 +329,8 @@ function article_callback2(transport, id, feed_id) {
if (transport.responseXML) {
if (!transport_error_check(transport)) return;
debug("looking for articles to cache...");
var articles = transport.responseXML.getElementsByTagName("article");