Skip to content

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

@Nytra

Description

@Nytra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions