1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-23 17:50:19 +01:00

Fixed error in error message.

This commit is contained in:
Joe Friedl 2011-12-18 18:51:23 -06:00
parent 14a23388a8
commit 87c935ac47

View file

@ -24,7 +24,7 @@ RedisDocumentStore.connect = function(options) {
RedisDocumentStore.client = redis.createClient(port, host); RedisDocumentStore.client = redis.createClient(port, host);
RedisDocumentStore.client.select(index, function(err, reply) { RedisDocumentStore.client.select(index, function(err, reply) {
if (err) { 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); process.exit(1);
} }
else { else {