From 87c935ac475988442c6e7dea832f0c7f97797f0c Mon Sep 17 00:00:00 2001 From: Joe Friedl Date: Sun, 18 Dec 2011 18:51:23 -0600 Subject: [PATCH] Fixed error in error message. --- lib/redis_document_store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redis_document_store.js b/lib/redis_document_store.js index 17dcc58..fc44f07 100644 --- a/lib/redis_document_store.js +++ b/lib/redis_document_store.js @@ -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 {