1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
This commit is contained in:
Ruben Bridgewater
2017-01-16 09:47:30 +01:00
parent 1f730a803a
commit 476e554fcd

View File

@@ -172,7 +172,7 @@ function RedisClient (options, stream) {
} else if ((event === 'message_buffer' || event === 'pmessage_buffer' || event === 'messageBuffer' || event === 'pmessageBuffer') && !this.buffers && !this.message_buffers) {
if (this.reply_parser.name !== 'javascript') {
return this.warn(
'You attached the ' + event + ' without the hiredis parser without the returnBuffers option set to true.\n' +
'You attached the "' + event + '" listener without the returnBuffers option set to true.\n' +
'Please use the JavaScript parser or set the returnBuffers option to true to return buffers.'
);
}