Commit 7a946f49 authored by John Crepezzi's avatar John Crepezzi
Browse files

Merge pull request #12 from grampajoe/master

Fixed error in error message.
parents 14a23388 87c935ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ RedisDocumentStore.connect = function(options) {
  RedisDocumentStore.client = redis.createClient(port, host);
  RedisDocumentStore.client.select(index, function(err, reply) {
    if (err) {
      winston.error('error connecting to redis index ' + index, { error: error.message });
      winston.error('error connecting to redis index ' + index, { error: err.message });
      process.exit(1);
    }
    else {