mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 00:27:38 +00:00
Remove stack trace from eth1 connection errors (#8957)
This commit is contained in:
parent
40b4079924
commit
bb8625ede5
@ -511,7 +511,7 @@ func (s *Service) waitForConnection() {
|
|||||||
logCounter := 0
|
logCounter := 0
|
||||||
errorLogger := func(err error, msg string) {
|
errorLogger := func(err error, msg string) {
|
||||||
if logCounter > logThreshold {
|
if logCounter > logThreshold {
|
||||||
log.WithError(err).Error(msg)
|
log.Errorf("%s: %v", msg, err)
|
||||||
logCounter = 0
|
logCounter = 0
|
||||||
}
|
}
|
||||||
logCounter++
|
logCounter++
|
||||||
|
Loading…
Reference in New Issue
Block a user