Merge pull request #158 from dominikkrejcik/master
Fix crash when Redis2 adapter was unable to connect to the database
This commit is contained in:
commit
0990135aee
|
@ -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