Fix XDR error

pull/1/head
yflory 4 years ago committed by ansuz
parent 1aa790e02d
commit 99ef72a6fd

@ -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