Skip to content

The agent that grows with you

fix(desktop): log native token decryption failures

Doud-FRf15c4db4c871
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index 3fa205b6f42..35169f18672 100644
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@ -6274,6 +6274,10 @@ function _loadNativeTokens(baseUrl: string): NativeTokenSet | null {
const plaintext = decryptDesktopSecret(secret)
if (!plaintext) {
+ rememberLog(
+ `[native-oauth] failed to decrypt stored tokens for ${baseUrl}; keeping stored entry for retry`
+ )
+
return null
}