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:
parent
2ffe7a3b14
commit
5c812c2ea4
2 changed files with 2 additions and 7 deletions
|
@ -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 the browser console."));
|
||||
alert(__("Failed to parse output. This can indicate server timeout and/or network issues. Backend output was logged to browser console."));
|
||||
console.log('quickAddFeed, backend returned:' + transport.responseText);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue