Replace console.warn with logger.warn
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
parent
5e73a212f4
commit
5290afcc4c
71 changed files with 195 additions and 127 deletions
|
@ -207,7 +207,7 @@ class MatrixClientPegClass implements IMatrixClientPeg {
|
|||
}
|
||||
// this can happen for a number of reasons, the most likely being
|
||||
// that the olm library was missing. It's not fatal.
|
||||
console.warn("Unable to initialise e2e", e);
|
||||
logger.warn("Unable to initialise e2e", e);
|
||||
}
|
||||
|
||||
const opts = utils.deepCopy(this.opts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue