Replace console.info with logger.info
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
parent
5290afcc4c
commit
2c66403b3c
11 changed files with 21 additions and 21 deletions
|
@ -101,7 +101,7 @@ class Presence {
|
|||
|
||||
try {
|
||||
await MatrixClientPeg.get().setPresence({ presence: this.state });
|
||||
console.info("Presence:", newState);
|
||||
logger.info("Presence:", newState);
|
||||
} catch (err) {
|
||||
logger.error("Failed to set presence:", err);
|
||||
this.state = oldState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue