1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-12-25 11:37:00 +00:00

Merge pull request #12 from grampajoe/master

Fixed error in error message.
This commit is contained in:
John Crepezzi 2011-12-18 17:58:07 -08:00
commit 7a946f4967

View file

@ -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 {