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

Handle exceptions for specific config keys more gracefully when loading configs for mods #9

Open
Nytra opened this issue Feb 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Nytra
Copy link

Nytra commented Feb 20, 2024

Currently if a single key in the mod config throws an error on loading, it results in the entire config being reset to default and a backup file being created, rather than only resetting the key that threw the error.

I have run into this when changing enum value names used for config keys.

Related discussion: neos-modding-group/NeosModLoader#100

The code that does this is in ModConfiguration.LoadConfigForMod method.

@XDelta XDelta added the enhancement New feature or request label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants