Fix XDR error

pull/1/head
yflory 4 years ago
parent 80574d436b
commit 3181db155e

@ -980,6 +980,11 @@ define([
setTimeout(cb, 750); setTimeout(cb, 750);
}; };
UI.errorLoadingScreen = function (error, transparent, exitable) { UI.errorLoadingScreen = function (error, transparent, exitable) {
if (error === 'Error: XDR encoding failure') {
console.warn(err);
return;
}
var $loading = $('#' + LOADING); var $loading = $('#' + LOADING);
if (!$loading.is(':visible') || $loading.hasClass('cp-loading-hidden')) { if (!$loading.is(':visible') || $loading.hasClass('cp-loading-hidden')) {
UI.addLoadingScreen(); UI.addLoadingScreen();

Loading…
Cancel
Save