Skip to content

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

@skyqrose

Description

@skyqrose

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions