mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-12-25 11:37:00 +00:00
Don't depend on err.message for redis errors [#49]
This commit is contained in:
parent
abb49f2cf3
commit
89909747f1
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ RedisDocumentStore.connect = function(options) {
|
|||
if (err) {
|
||||
winston.error(
|
||||
'error connecting to redis index ' + index,
|
||||
{ error: err.message }
|
||||
{ error: err }
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue