You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Fix js parser sending non-Errors
This commit is contained in:
@@ -177,8 +177,7 @@ ReplyParser.prototype.execute = function (buffer) {
|
||||
if (ret === null) {
|
||||
break;
|
||||
}
|
||||
|
||||
this.send_error(ret);
|
||||
this.send_error(new Error(ret));
|
||||
} else if (type === 58) { // :
|
||||
ret = this._parseResult(type);
|
||||
|
||||
|
Reference in New Issue
Block a user