[fix] Supress errors from Redis
This commit is contained in:
parent
9bd6e266a7
commit
04a59e93d6
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue