Skip to content

Commit

Permalink
[fix] Supress errors from Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Apr 5, 2011
1 parent 9bd6e26 commit 04a59e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/nconf/stores/redis.js
Expand Up @@ -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);
});
};

//
Expand Down

0 comments on commit 04a59e9

Please sign in to comment.