chore: print more logs
This commit is contained in:
1 parent
64d026fc1a
commit
b0b0ed2013
2 files changed
+6
-2
No files matched your search
+2
-1
@@ -17,9 +17,10 @@ func InitRedisClient() (err error) {
|
||||
SysLog("REDIS_CONN_STRING not set, Redis is not enabled")
|
||||
return nil
|
||||
}
|
||||
SysLog("Redis is enabled")
|
||||
opt, err := redis.ParseURL(os.Getenv("REDIS_CONN_STRING"))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
FatalLog(err)
|
||||
}
|
||||
RDB = redis.NewClient(opt)
|
||||
|
||||
|
||||
Reference in new issue
Block a user