mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-02 16:28:39 +08:00
Add: Optimize the error log to be more specific (#3994)
This commit is contained in:
parent
459d3025c5
commit
f372b98d96
@ -222,7 +222,7 @@ func (c *cluster) load(cli EtcdClient, key string) int64 {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
logx.Error(err)
|
logx.Errorf("%s, key is %s", err.Error(), key)
|
||||||
time.Sleep(coolDownInterval)
|
time.Sleep(coolDownInterval)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user