fix(desktop): log native token decryption failures

This commit is contained in:
Doud-FR 2026-07-29 09:26:27 +02:00 committed by Austin Pickett
parent a3618c2b22
commit f15c4db4c8
1 changed files with 4 additions and 0 deletions

View File

@ -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
}