Skip to content

fix(cache): handle JSONDecodeError for corrupted cache files#241

Open
tatenda-source wants to merge 1 commit intoFujiwaraChoki:mainfrom
tatenda-source:fix/cache-json-decode-error
Open

fix(cache): handle JSONDecodeError for corrupted cache files#241
tatenda-source wants to merge 1 commit intoFujiwaraChoki:mainfrom
tatenda-source:fix/cache-json-decode-error

Conversation

@tatenda-source
Copy link
Copy Markdown

Summary

  • Handle JSONDecodeError gracefully when cache files are corrupted
  • Reset corrupted cache files to valid empty state instead of crashing

Closes #230

Test plan

  • Corrupt a cache JSON file and verify app recovers
  • Verify normal cache operations still work

🤖 Generated with Claude Code

Closes FujiwaraChoki#230

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(cache): JSONDecodeError crashes on corrupted cache files

1 participant