mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:25:54 +00:00
Revert "add a less intimidating error message when backend times out and/or fails to return valid JSON"
This reverts commit 2ffe7a3b14.
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user