diff --git a/src/server/models/thinky.js b/src/server/models/thinky.js index 17604805c..1cff8fc21 100644 --- a/src/server/models/thinky.js +++ b/src/server/models/thinky.js @@ -62,11 +62,11 @@ if (redisUrl) { } const redis = require("redis"); - thinkyConn.r.redis = redis.createClient(redisSettings); (async () => { - console.log("🐰 before", redisSettings.url); - await thinkyConn.r.redis.connect(); - console.log("🐇 after"); + thinkyConn.r.redis = await redis + .createClient(redisSettings) + .on("error", err => console.log("Redis Client Error", err)) + .connect(); })(); } else if (process.env.REDIS_FAKE) { const fakeredis = require("fakeredis");