Add: Optimize the error log to be more specific (#3994)

This commit is contained in:
Viktor Patchev 2024-03-11 06:06:50 +01:00 committed by GitHub
parent 459d3025c5
commit f372b98d96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,7 +222,7 @@ func (c *cluster) load(cli EtcdClient, key string) int64 {
break
}
logx.Error(err)
logx.Errorf("%s, key is %s", err.Error(), key)
time.Sleep(coolDownInterval)
}