summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-03-11 19:09:33 +0400
committerAndrew Dolgov <[email protected]>2014-03-11 19:09:33 +0400
commit5c812c2ea4f8fb60ccceb7dbf9ec06ff9372c077 (patch)
treec0bb175eb9f0659485a5df81be8c6cf9d335cc24 /js/tt-rss.js
parent2ffe7a3b14caeb55a6338d769255cafa6f67d3c6 (diff)
Revert "add a less intimidating error message when backend times out and/or fails to return valid JSON"
This reverts commit 2ffe7a3b14caeb55a6338d769255cafa6f67d3c6.
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 3b7793553..bb23169ec 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -987,12 +987,7 @@ function newVersionDlg() {
function handle_rpc_json(transport, scheduled_call) {
try {
- try {
- var reply = JSON.parse(transport.responseText);
- } catch (e) {
- alert(__("Failed to parse server reply. This could be caused by a server or network timeout. Backend output was logged to the browser console."));
- console.log("handle_rpc_json, received: " + transport.responseText);
- }
+ var reply = JSON.parse(transport.responseText);
if (reply) {