Log Redis connection errors instead of crashing
This commit is contained in:
parent
c252926f34
commit
035c42eb9d
|
@ -42,6 +42,9 @@ exports.initialize = function initializeSchema(schema, callback) {
|
|||
}
|
||||
}
|
||||
});
|
||||
schema.client.on('error', function (error) {
|
||||
console.log(error);
|
||||
})
|
||||
|
||||
var clientWrapper = new Client(schema.client);
|
||||
|
||||
|
|
Loading…
Reference in New Issue