Skip to content

Race condition on error handling #15

@garethbowen

Description

@garethbowen

If I try to get a doc that doesn't exist immediately on page load I get an uncaught exception in promise. If I try to get the same doc after a 1 second delay then the error is handled as expected. If I remove worker-pouch the 404s are handled as expected.

I've done some digging around to try and get more information but unfortunately I haven't gotten far, but here's what I have...

uncaught-exception

doc-not-found

I'm not sure if it's relevant but I use angular-pouchdb.

Let me know if there's anything else I can do to help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions