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

Don't depend on err.message for redis errors [#49]

This commit is contained in:
John Crepezzi 2013-11-24 11:54:01 -05:00
parent abb49f2cf3
commit 89909747f1

View file

@ -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);
}