mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Remove unnecessary error log from deleted media-tag
This commit is contained in:
parent
f69dcbdda9
commit
91b1af15fd
@ -316,7 +316,7 @@ define([
|
||||
var key = secret.keys && secret.keys.cryptKey;
|
||||
MediaTag.fetchDecryptedMetadata(src, key, function (e, metadata) {
|
||||
if (e) {
|
||||
if (e === 'XHR_ERROR') { return; }
|
||||
if (/^XHR_ERROR/.test(e)) { return; }
|
||||
return console.error(e);
|
||||
}
|
||||
if (!metadata) { return console.error("NO_METADATA"); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user