SHIMODA Piro Hiroshi
null+****@clear*****
Mon Oct 6 18:04:30 JST 2014
SHIMODA "Piro" Hiroshi 2014-10-06 18:04:30 +0900 (Mon, 06 Oct 2014) New Revision: f7beaeed2f0b6ae104a6a68b64beab1485f27d6e https://github.com/droonga/express-droonga/commit/f7beaeed2f0b6ae104a6a68b64beab1485f27d6e Message: Output all whole envelope for debugging Modified files: lib/droonga-protocol/connection.js Modified: lib/droonga-protocol/connection.js (+2 -2) =================================================================== --- lib/droonga-protocol/connection.js 2014-10-06 17:27:28 +0900 (20afff7) +++ lib/droonga-protocol/connection.js 2014-10-06 18:04:30 +0900 (668938c) @@ -128,13 +128,13 @@ Connection.prototype._handleMessage = function(envelope) { var inReplyTo = envelope.inReplyTo; if (inReplyTo) { delete this._sendingMessages[inReplyTo]; - this._logger.debug('Connection._handleMessage.reply %d:', this._id, inReplyTo); + this._logger.debug('Connection._handleMessage.reply %d:', this._id, envelope); var errorCode = envelope.statusCode; if (!errorCode || isSuccess(errorCode)) errorCode = null; this.emit('reply:' + inReplyTo, errorCode, envelope); } else { - this._logger.debug('Connection._handleMessage.message %d:', this._id, envelope.type); + this._logger.debug('Connection._handleMessage.message %d:', this._id, envelope); this.emit(envelope.type, envelope); } }; -------------- next part -------------- HTML����������������������������...Download