Replace console.error with logger.error

Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
Dariusz Niemczyk
2021-10-18 14:08:23 +02:00
committed by Dariusz Niemczyk
parent 9c594a8a96
commit 5e73a212f4
124 changed files with 417 additions and 250 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ export async function accessSecretStorage(func = async () => { }, forceReset = f
return await func();
} catch (e) {
SecurityCustomisations.catchAccessSecretStorageError?.(e);
console.error(e);
logger.error(e);
// Re-throw so that higher level logic can abort as needed
throw e;
} finally {