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

Alert the user if config file cannot be read #65

Closed
rubberduck203 opened this issue Nov 22, 2014 · 3 comments
Closed

Alert the user if config file cannot be read #65

rubberduck203 opened this issue Nov 22, 2014 · 3 comments
Assignees
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.

Comments

@rubberduck203
Copy link
Member

Currently, if the rubberduck.config file cannot be read, the add in silently uses the hardcoded default configuration. It would be much nicer to alert the user to the issue before continuing. This way they can attempt to correct the issue.

Something along the lines of

catch (IOException ex)
{
    MessageBox.Show(ex.Description + " Using default configuration")
    return GetDefaultConfiguration
}

This may be a temporary fix until there is a mechanism to modify and save changes to the configuration from within the program.

@rubberduck203 rubberduck203 added the enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. label Nov 22, 2014
@rubberduck203 rubberduck203 self-assigned this Nov 22, 2014
@rubberduck203
Copy link
Member Author

No. Just need to create the file if it doesn't exist. No sense in doing anything temporary.

@rubberduck203
Copy link
Member Author

Needs to also check for a bad configuration.

@rubberduck203
Copy link
Member Author

Pull Request #142 closed this.

retailcoder added a commit that referenced this issue Apr 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
Projects
None yet
Development

No branches or pull requests

1 participant