Commit 89909747 authored by John Crepezzi's avatar John Crepezzi
Browse files

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

parent abb49f2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }