Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Crash in feed.js on_timeout #14

Closed
smithsz opened this issue Oct 26, 2017 · 0 comments
Closed

Crash in feed.js on_timeout #14

smithsz opened this issue Oct 26, 2017 · 0 comments
Assignees
Labels

Comments

@smithsz
Copy link

smithsz commented Oct 26, 2017

I am using nano to follow a cloudant db and my code crashes repeatedly in the follow module.
File: lib/feed.js
This line of code causes the error. Seems like self.pending.request is null.
self.emit('timeout', {elapsed_ms:elapsed_ms, heartbeat:self.heartbeat, id:self.pending.request.id()});
TypeError: Cannot call method 'id' of null
at Feed.on_timeout (C:\workspace\myApp\node_modules\nano\node_modules\follow\lib\feed.js:46
3:98)
Could this be caused by wrong usage or is it a bug within the follow module?

See iriscouch#52 for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant