From 3b12bfb83999991cff8755be8617ceeb7aed7025 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Mon, 30 Mar 2026 16:34:42 +0100 Subject: [PATCH] Remove unneeded log items These are already known at the time of logging due to the surrounding logic. --- .../src/device-listener/DeviceListenerCurrentDevice.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/apps/web/src/device-listener/DeviceListenerCurrentDevice.ts b/apps/web/src/device-listener/DeviceListenerCurrentDevice.ts index 26eb9c1cd4..d99fa6bd56 100644 --- a/apps/web/src/device-listener/DeviceListenerCurrentDevice.ts +++ b/apps/web/src/device-listener/DeviceListenerCurrentDevice.ts @@ -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");