iriscouch / follow

Very stable, very reliable, NodeJS CouchDB _changes follower
Apache License 2.0
393 stars 82 forks source link

TypeError: Cannot read property 'body' of undefined #11

Closed mborho closed 12 years ago

mborho commented 12 years ago

When couchdb gets stopped, this exception gets raised, which prevents reconnection when couchdb is up again

TypeError: Cannot read property 'body' of undefined at Request.on_feed_response as onResponse at Request. (/home/node/local/node-0.6.6/lib/node_modules/cradle/node_modules/follow/node_modules/request/main.js:186:60) at Request.emit (events.js:67:17) at ClientRequest. (/home/node/local/node-0.6.6/lib/node_modules/cradle/node_modules/follow/node_modules/request/main.js:184:10) at ClientRequest.emit (events.js:67:17) at Socket. (http.js:1114:11) at Socket.emit (events.js:67:17) at Array.0 (net.js:313:25) at EventEmitter._tickCallback (node.js:192:40)