From 99ef72a6fdf726f4d0f6207214c609183aca23e9 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 19 Nov 2020 10:46:42 +0100 Subject: [PATCH 1/2] Fix XDR error --- www/common/common-interface.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 6d682afa7..7a39afae2 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -980,6 +980,11 @@ define([ setTimeout(cb, 750); }; UI.errorLoadingScreen = function (error, transparent, exitable) { + if (error === 'Error: XDR encoding failure') { + console.warn(err); + return; + } + var $loading = $('#' + LOADING); if (!$loading.is(':visible') || $loading.hasClass('cp-loading-hidden')) { UI.addLoadingScreen(); From d8781dbafffe918553e19e75317899d43752373c Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 19 Nov 2020 10:49:08 +0100 Subject: [PATCH 2/2] Fix typo --- www/common/common-interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 7a39afae2..9fae121dc 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -981,7 +981,7 @@ define([ }; UI.errorLoadingScreen = function (error, transparent, exitable) { if (error === 'Error: XDR encoding failure') { - console.warn(err); + console.warn(error); return; }