Recovery from a corrupt ~/.claude.json now continues even if backing up the broken file fails.
What's wrong with this entry?
When ~/.claude.json is corrupt, a failure while backing up the broken file is now logged and recovery continues, instead of stopping there.
- The message includes the underlying error text.
- The watcher behind the config was also tightened: it now drops its freshness subscription if the storage backend changed underneath it, and ignores an update event that matches the version this process just loaded.
- Its fallback log line now reads "using the fs.watchFile poll" rather than "staying on" it.
Could not back up corrupted config (
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.223
Invalid config dialog is now awaited before returning
Both mention configuration
-
v2.1.228
Env vars set to an empty string now count as unset
Both mention configuration
-
v2.1.228
Config backup moved into a shared helper
Both mention configuration