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

add a less intimidating error message when backend times out and/or fails to return valid JSON

This commit is contained in:
Andrew Dolgov
2014-03-11 13:59:14 +04:00
parent 9e52809d1a
commit 2ffe7a3b14
2 changed files with 7 additions and 2 deletions

View File

@@ -833,7 +833,7 @@ function quickAddFeed() {
var reply = JSON.parse(transport.responseText);
} catch (e) {
Element.hide("feed_add_spinner");
alert(__("Failed to parse output. This can indicate server timeout and/or network issues. Backend output was logged to browser console."));
alert(__("Failed to parse output. This can indicate server timeout and/or network issues. Backend output was logged to the browser console."));
console.log('quickAddFeed, backend returned:' + transport.responseText);
return;
}