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

Add a warning or an error message when setItem crash ? #1093

Open
FVolral opened this issue Aug 7, 2023 · 1 comment
Open

Add a warning or an error message when setItem crash ? #1093

FVolral opened this issue Aug 7, 2023 · 1 comment

Comments

@FVolral
Copy link

FVolral commented Aug 7, 2023

I've just spent several hours trying to understand a bug that was preventing me from persisting certain data in the indexedDB. I'm not sure if it's normal, but localForage seems to silently fail in the setItem function. However, I assure you that we would like to know if it crashed
image

@crowers
Copy link

crowers commented Aug 10, 2023

We are seeing a similar issue. "Failed to execute 'put' on 'IDBObjectStore': [object Array] could not be cloned." This is despite wrapping in JSON.parse(JSON.stringify())

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

No branches or pull requests

2 participants