You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fix bug where unhandled error replies confuse the parser.
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
## v0.5.2 - January 18, 2011
|
||||||
|
|
||||||
|
Fix bug where unhandled error replies confuse the parser.
|
||||||
|
|
||||||
## v0.5.1 - January 18, 2011
|
## v0.5.1 - January 18, 2011
|
||||||
|
|
||||||
Fix bug where subscribe commands would not handle redis-server startup error properly.
|
Fix bug where subscribe commands would not handle redis-server startup error properly.
|
||||||
|
4
index.js
4
index.js
@@ -243,7 +243,9 @@ RedisClient.prototype.return_error = function (err) {
|
|||||||
} else {
|
} else {
|
||||||
console.log("node_redis: no callback to send error: " + err.message);
|
console.log("node_redis: no callback to send error: " + err.message);
|
||||||
// this will probably not make it anywhere useful, but we might as well throw
|
// this will probably not make it anywhere useful, but we might as well throw
|
||||||
throw err;
|
process.nextTick(function () {
|
||||||
|
throw err;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{ "name" : "redis",
|
{ "name" : "redis",
|
||||||
"version" : "0.5.1",
|
"version" : "0.5.2",
|
||||||
"description" : "Redis client library",
|
"description" : "Redis client library",
|
||||||
"author": "Matt Ranney <mjr@ranney.com>",
|
"author": "Matt Ranney <mjr@ranney.com>",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
|
Reference in New Issue
Block a user