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

Throw and do not evict storage when bad data is set to Onyx #116

Merged
merged 2 commits into from
Jan 21, 2022

Conversation

marcaaron
Copy link
Contributor

@marcaaron marcaaron commented Jan 20, 2022

Details

When setting non-serializable data in Onyx we are catching the error and trying to empty the storage. We are at the moment naively assuming that any error is a storage issue. This will make sure that we do not treat IndexedDB "put" errors as storage issues.

Related Issues

#115

Linked PRs

Expensify/App#7343

@marcaaron marcaaron self-assigned this Jan 20, 2022
@marcaaron marcaaron requested a review from a team as a code owner January 20, 2022 22:56
@MelvinBot MelvinBot requested review from Gonals and removed request for a team January 20, 2022 22:57
@Gonals Gonals merged commit 41c0ee3 into main Jan 21, 2022
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.

2 participants