[fix] Supress errors from Redis

This commit is contained in:
indexzero 2011-04-05 03:53:17 -04:00
parent 9bd6e266a7
commit 04a59e93d6

View file

@ -35,6 +35,11 @@ var Redis = exports.Redis = function (options) {
if (options.auth) { if (options.auth) {
this.redis.auth(options.auth); this.redis.auth(options.auth);
} }
// Suppress errors from the Redis client
this.redis.on('error', function (err) {
require('eyes').inspect(err);
});
}; };
// //