mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Remove unneeded log items
These are already known at the time of logging due to the surrounding logic.
This commit is contained in:
parent
00ff4b43c3
commit
3b12bfb839
@ -223,18 +223,10 @@ export class DeviceListenerCurrentDevice {
|
||||
} else {
|
||||
await this.failedCheck("key_storage_out_of_sync", logSpan, "warn", "4S is missing secrets", {
|
||||
secretStorageStatus,
|
||||
allCrossSigningSecretsCached,
|
||||
isCurrentDeviceTrusted,
|
||||
keyBackupDownloadIsOk,
|
||||
});
|
||||
}
|
||||
} else if (!keyBackupDownloadIsOk) {
|
||||
await this.failedCheck("key_storage_out_of_sync", logSpan, "warn", "Backup key is not cached locally", {
|
||||
secretStorageStatus,
|
||||
allCrossSigningSecretsCached,
|
||||
isCurrentDeviceTrusted,
|
||||
keyBackupDownloadIsOk,
|
||||
});
|
||||
await this.failedCheck("key_storage_out_of_sync", logSpan, "warn", "Backup key is not cached locally");
|
||||
} else {
|
||||
// We should not get here
|
||||
throw new Error("DeviceListenerCurrentDevice is in an unexpected state");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user