mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-22 04:31:21 +00:00
Fixed error in error message.
This commit is contained in:
parent
14a23388a8
commit
87c935ac47
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue