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

Don't break when local storage is disabled #3120

Closed

Conversation

forbesjo
Copy link
Contributor

This PR is to fix an issue where attempting to restore caption settings when localstorage is disabled causes an error.

@gkatsev
Copy link
Member

gkatsev commented Feb 18, 2016

LGTM.

@gkatsev gkatsev added patch This PR can be added to a patch release. needs: LGTM Needs one or more additional approvals labels Feb 18, 2016
if (err) {
log.error(err);
}
} catch (e) { }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we log this exception?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll log the exception as a warning here as well as in saveSettings().

@gkatsev gkatsev added confirmed and removed needs: LGTM Needs one or more additional approvals labels Feb 19, 2016
@brandonocasey
Copy link
Contributor

LGTM

@gkatsev gkatsev closed this in d8ba649 Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed patch This PR can be added to a patch release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants