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

UnknownError: Attempt to get a record from database without an in-progress transaction #171

Open
skyqrose opened this issue Sep 26, 2023 · 0 comments

Comments

@skyqrose
Copy link

My app occasionally gets error reports from clients of UnknownError: Attempt to get a record from database without an in-progress transaction.

It's always on iPhone.

I don't have a stack trace, but it's likely happening in a call to IDB.get(key), though we also call IDB.del(key) nearby.

We're using idb-keyval version 6.2.1.

This isn't a big deal for us, cuz our app just uses IDB as a cache, so we gracefully catch the error and ignore the cache, but I thought I'd submit a bug report anyway in case it matters more to someone else.

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

1 participant