Don't show XDR encoding errors

This commit is contained in:
yflory 2020-11-18 15:11:34 +01:00
parent 7bbb46c2ef
commit d60bdbfba1
1 changed files with 6 additions and 0 deletions

View File

@ -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.') {