ember-preferences icon indicating copy to clipboard operation
ember-preferences copied to clipboard

Guard against all exceptions

Open san650 opened this issue 9 years ago • 0 comments

The idea is to use this addon to manage low priority user configurations, this means that it's preferable to lose a configuration value than to raise an exception to the user.

The idea is to catch any exception and log the warning to the console. A nice to have is to change the adapter to memory adapter when an error occurs and store the configuration there. The problem with this approach is that you can potentially lose previous configurations on the current session.

san650 avatar Apr 07 '16 11:04 san650