Skip to content

'paused' event of .sync() does not emit errors from underlying replication #9197

@maralorn

Description

@maralorn

Issue

When subscribing to

PouchDB.sync(, { retry: true }).on('paused',myCallback)

the callback will always receive undefined. As opposed to

PouchDB.replicate(, { retry: true }).on('paused',myCallback)

where the callback while receive undefined when there is nothing else to sync, but an error object when there is e.g. a connection problem.

Info

  • Environment: browser
  • Platform: Chrome
  • Adapter: indexeddb
  • Server: CouchDB

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