From bb8625ede57dc8bbfb0c201f635cc162b8368e93 Mon Sep 17 00:00:00 2001 From: Ivan Martinez Date: Fri, 28 May 2021 17:25:54 -0400 Subject: [PATCH] Remove stack trace from eth1 connection errors (#8957) --- beacon-chain/powchain/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++