Skip to content

Node.js based forum software built for the modern web

fixed #1554, redis error handling will go back to crashing the error (though the error will be logged at least)

Julian Lam584fe602849c
diff --git a/src/database/redis.js b/src/database/redis.js
index aaa8c7d0ac..2c0e9bd1cc 100644
--- a/src/database/redis.js
+++ b/src/database/redis.js
@@ -65,6 +65,7 @@
redisClient.on('error', function (err) {
winston.error(err.stack);
+ process.exit(1);
});
module.client = redisClient;