From 9bbc3acf3ab688617d9ac3f17fd4a146835e19ae Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 18 Nov 2020 15:11:34 +0100 Subject: [PATCH] Don't show XDR encoding errors --- customize.dist/loading.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/customize.dist/loading.js b/customize.dist/loading.js index edb66ef0a..b0d66981c 100644 --- a/customize.dist/loading.js +++ b/customize.dist/loading.js @@ -329,6 +329,12 @@ button.primary:hover{ window.CryptPad_loadingError = function (err) { if (!built) { return; } + + if (err === 'Error: XDR encoding failure') { + console.warn(err); + return; + } + hasErrored = true; var err2; if (err === 'Script error.') {