Merge pull request #158 from dominikkrejcik/master

Fix crash when Redis2 adapter was unable to connect to the database
This commit is contained in:
Anatoliy Chakkaev 2012-11-29 23:55:59 -08:00
commit 0990135aee
1 changed files with 3 additions and 0 deletions

View File

@ -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);