Skip to content

Commit

Permalink
adding debug statement for redis client errors
Browse files Browse the repository at this point in the history
  • Loading branch information
toddself committed May 15, 2015
1 parent 47958ee commit 406c19e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/connect-redis.js
Expand Up @@ -120,6 +120,7 @@ module.exports = function (session) {
}

self.client.on('error', function (er) {
debug('Redis returned err', er);
self.emit('disconnect', er);
});

Expand Down

0 comments on commit 406c19e

Please sign in to comment.