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
|
@ -126,7 +126,7 @@ export default class WidgetStore extends AsyncStoreWithClient<IState> {
|
|||
// Sanity check for https://github.com/vector-im/element-web/issues/15705
|
||||
const existingApp = this.widgetMap.get(widgetUid(app));
|
||||
if (existingApp) {
|
||||
console.warn(
|
||||
logger.warn(
|
||||
`Possible widget ID conflict for ${app.id} - wants to store in room ${app.roomId} ` +
|
||||
`but is currently stored as ${existingApp.roomId} - letting the want win`,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue