1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-16 09:42:23 +03:00

More incorrect logger use (#4904)

A couple of places where we were still using the legacy logger
This commit is contained in:
Richard van der Hoff
2025-07-08 16:37:17 +01:00
committed by GitHub
parent 024b62bba0
commit 06a1e1a88a
2 changed files with 6 additions and 6 deletions

View File

@@ -2209,7 +2209,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
): Promise<EmptyObject> {
// If the sync loop is not running, fall back to setAccountDataRaw.
if (!this.clientRunning) {
logger.warn(
this.logger.warn(
"Calling `setAccountData` before the client is started: `getAccountData` may return inconsistent results.",
);
return await retryNetworkOperation(5, () => this.setAccountDataRaw(eventType, content));