Replace console.error with logger.error
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
parent
9c594a8a96
commit
5e73a212f4
124 changed files with 417 additions and 250 deletions
|
@ -41,6 +41,8 @@ import { reorderLexicographically } from "../utils/stringOrderField";
|
|||
import { TAG_ORDER } from "../components/views/rooms/RoomList";
|
||||
import { SettingUpdatedPayload } from "../dispatcher/payloads/SettingUpdatedPayload";
|
||||
|
||||
import { logger } from "matrix-js-sdk/src/logger";
|
||||
|
||||
type SpaceKey = string | symbol;
|
||||
|
||||
interface IState {}
|
||||
|
@ -261,7 +263,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||
viaServers: Array.from(viaMap.get(roomInfo.room_id) || []),
|
||||
}));
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
logger.error(e);
|
||||
}
|
||||
return [];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue