From 04a59e93d66b7d45c22c54155f1dcc4fd10fdafa Mon Sep 17 00:00:00 2001 From: indexzero Date: Tue, 5 Apr 2011 03:53:17 -0400 Subject: [PATCH] [fix] Supress errors from Redis --- lib/nconf/stores/redis.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/nconf/stores/redis.js b/lib/nconf/stores/redis.js index 9e99760..cace4b0 100644 --- a/lib/nconf/stores/redis.js +++ b/lib/nconf/stores/redis.js @@ -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); + }); }; //