Commit 7617c9a0 authored by hujiebin's avatar hujiebin

Update main.go

parent a1a9b2c5
......@@ -527,7 +527,7 @@ func RegisterToRedis(RedisClusterClient *redis.Client, port int, init bool) {
Score: float64(time.Now().Unix()),
Member: ipPort,
}).Err(); err != nil {
failMsg := fmt.Sprintf("RegisterToRedis fail,redis fail,err:%v,serviceName:%v", err, RegisterName)
failMsg := fmt.Sprintf("RegisterToRedis fail,redis fail,err:%v,serviceName:%v,pwd:%v,mode:%v", err, RegisterName, appConfig.GetConfigRedis().REDIS_CLUSTER_PASSWORD, appConfig.GetMode())
mylogrus.MyLog.Errorf(failMsg)
_ = dingding.SendDingRobot(dingding.ROBOTWEBHOOK, failMsg, true)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment