couch-client icon indicating copy to clipboard operation
couch-client copied to clipboard

_bulk_docs response undefined

Open cschram opened this issue 14 years ago • 2 comments

Every once in awhile when using save() my program crashes with this error:

node.js:183
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
TypeError: Cannot read property 'error' of undefined
    at /root/bro-bot/node_modules/couch-client/lib/couch-client.js:134:20
    at ClientRequest.errorHandler (/root/bro-bot/node_modules/couch-client/lib/couch-client.js:47:23)
    at ClientRequest.emit (events.js:64:17)
    at Socket.<anonymous> (http.js:1216:11)
    at Socket.emit (events.js:64:17)
    at Array.<anonymous> (net.js:833:27)
    at EventEmitter._tickCallback (node.js:175:26)

cschram avatar Jun 09 '11 16:06 cschram

This actually happens quite often now.

cschram avatar Jun 19 '11 23:06 cschram

This also happens sporadically to me, but I've yet to narrow down what triggers it.

jimt avatar Mar 01 '12 22:03 jimt