Loading lib/kinetic.js +2 −1 Original line number Diff line number Diff line Loading @@ -1632,7 +1632,8 @@ function parsePDU(socket, callback) { const pdu = new PDU( Buffer.concat([header, rawData], HEADER_SZ + protobufSize)); let error; if (pdu.getMessageType() !== ops.NOOP) { if (pdu.getCommand().status && pdu.getMessageType() !== ops.NOOP) { error = (pdu.getStatusCode() === errors.SUCCESS) ? null : pdu.getErrorMessage(); } Loading Loading
lib/kinetic.js +2 −1 Original line number Diff line number Diff line Loading @@ -1632,7 +1632,8 @@ function parsePDU(socket, callback) { const pdu = new PDU( Buffer.concat([header, rawData], HEADER_SZ + protobufSize)); let error; if (pdu.getMessageType() !== ops.NOOP) { if (pdu.getCommand().status && pdu.getMessageType() !== ops.NOOP) { error = (pdu.getStatusCode() === errors.SUCCESS) ? null : pdu.getErrorMessage(); } Loading