[fix] Supress errors from Redis

master
indexzero 2011-04-05 03:53:17 -04:00
parent 9bd6e266a7
commit 04a59e93d6
1 changed files with 5 additions and 0 deletions

View File

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