Don't depend on err.message for redis errors [#49]

jsonp
John Crepezzi 12 years ago
parent abb49f2cf3
commit 89909747f1
  1. 2
      lib/document_stores/redis.js

@ -29,7 +29,7 @@ RedisDocumentStore.connect = function(options) {
if (err) {
winston.error(
'error connecting to redis index ' + index,
{ error: err.message }
{ error: err }
);
process.exit(1);
}

Loading…
Cancel
Save