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

🐛 catch persistence initialisation errors #264

Merged
merged 1 commit into from
Dec 16, 2023
Merged

Conversation

prazdevs
Copy link
Owner

Reading localStorage as default storage could throw DOMException errors if access was restricted for the page. Error is now caught and logged if debug option is set to true.

Fixes #251

@prazdevs prazdevs merged commit 0f21016 into main Dec 16, 2023
1 check passed
@prazdevs prazdevs deleted the fix/storage-access branch April 1, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Application crashes when cookies are disabled
1 participant