Skip to content
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

SaveRegistryToSptFolderPatches should sanely handle JSON parsing failure #11

Open
DrakiaXYZ opened this issue Dec 10, 2024 · 1 comment
Labels
enhancement New feature or request fixed

Comments

@DrakiaXYZ
Copy link
Contributor

Right now if the JSON file used by SaveRegistryToSptFolderPatches gets corrupted in some way, the patch throws an exception breaking startup. We can probably just try/catch any exceptions and use a default empty JObject() in the event parsing fails, since the registry doesn't contain anything super important

@DrakiaXYZ DrakiaXYZ added the enhancement New feature or request label Dec 10, 2024
@chompDev
Copy link
Contributor

Implemented with: c0d6520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

2 participants