Closed jonsadka closed 9 years ago
Add null check prior to sending the op to prevent undefined operations from being sent. I ran into an instance where the op was undefined, causing Session.prototype._sendOp to error.
Session.prototype._sendOp = function(collection, docName, data) { var msg = { a: 'op', c: collection, d: docName, v: data.v, src: data.src, seq: data.seq };
doing this separately with log
Add null check prior to sending the op to prevent undefined operations from being sent. I ran into an instance where the op was undefined, causing Session.prototype._sendOp to error.