Fix some ineffective placeholders in a couple log lines (#5729)

Was producing `Presence: %s unavailable` in the logs.
pull/21833/head
Andrew Morgan 2021-03-08 15:00:09 +00:00 committed by GitHub
parent fca1639e0e
commit df4631d65b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -99,9 +99,9 @@ class Presence {
try {
await MatrixClientPeg.get().setPresence(this.state);
console.info("Presence: %s", newState);
console.info("Presence:", newState);
} catch (err) {
console.error("Failed to set presence: %s", err);
console.error("Failed to set presence:", err);
this.state = oldState;
}
}