Fix use of logger that assumes it interpolates strings (#10789)
This commit is contained in:
parent
02de2f5ba9
commit
7856d84034
4 changed files with 7 additions and 7 deletions
|
@ -1504,7 +1504,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
if (state === SyncState.Syncing && prevState === SyncState.Syncing) {
|
||||
return;
|
||||
}
|
||||
logger.info("MatrixClient sync state => %s", state);
|
||||
logger.info(`MatrixClient sync state => ${state}`);
|
||||
if (state !== SyncState.Prepared) {
|
||||
return;
|
||||
}
|
||||
|
@ -1863,7 +1863,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
subAction: params?.action,
|
||||
});
|
||||
} else {
|
||||
logger.info("Ignoring showScreen for '%s'", screen);
|
||||
logger.info(`Ignoring showScreen for '${screen}'`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue