UnknownError: Attempt to get a record from database without an in-progress transaction
skyqrose opened this issue · comments
Sky Rose commented
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.