Skip to content

Ticket8671 Give a better error when cache is corrupt #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LilithCole
Copy link
Contributor

@LilithCole LilithCole commented May 16, 2025

Description of work

Simple catch to make a more verbose error.

To test

Ticket8671

Acceptance criteria

  • Delete C:\Users<user>.cache\pyright-python\nodeenv\Scripts
  • On main, try to load any script, it should have an unhelpful json error
  • On this branch, it will tell you what to do
  • Follow the prompts instructions, the script should now load

Code Review

  • Is the code of an acceptable quality?
  • Are there unit tests in place? Are the unit tests small and test the a class in isolation?
  • Have the changes been documented in the release notes. If so, do they describe the changes appropriately?

Functional Tests

  • Do changes function as described? Add comments below that describe the tests performed.
  • How do the changes handle unexpected situations, e.g. bad input?
  • Has developer documentation been updated if required?

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.

1 participant