diff --git a/beacon-chain/powchain/service.go b/beacon-chain/powchain/service.go index 454fe0e43..e65b34053 100644 --- a/beacon-chain/powchain/service.go +++ b/beacon-chain/powchain/service.go @@ -511,7 +511,7 @@ func (s *Service) waitForConnection() { logCounter := 0 errorLogger := func(err error, msg string) { if logCounter > logThreshold { - log.WithError(err).Error(msg) + log.Errorf("%s: %v", msg, err) logCounter = 0 } logCounter++