You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pouchdb.apache.org by "maralorn (via GitHub)" <gi...@apache.org> on 2026/03/11 11:33:51 UTC
[I] 'paused' event of .sync() does not emit errors from underlying replication [pouchdb]
maralorn opened a new issue, #9197:
URL: https://github.com/apache/pouchdb/issues/9197
<!--
Hello! 👋
Thank you for opening an issue on PouchDB.
There is also a 3-Minute read, on how to format your issue:
https://guides.github.com/features/mastering-markdown/
This template is optional, but it may help us fix your issue faster.
-->
### 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pouchdb.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 'paused' event of .sync() does not emit errors from underlying replication [pouchdb]
Posted by "janl (via GitHub)" <gi...@apache.org>.
janl closed issue #9197: 'paused' event of .sync() does not emit errors from underlying replication
URL: https://github.com/apache/pouchdb/issues/9197
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pouchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org