Change To Debug Logs (#5917)

* debug
This commit is contained in:
Nishant Das 2020-05-20 12:57:24 +08:00 committed by GitHub
parent ea02edba29
commit 2de4f86277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,13 +426,13 @@ func (s *Service) FindPeersWithSubnet(index uint64) (bool, error) {
// do not look for nodes with no tcp port set
if err := node.Record().Load(enr.WithEntry("tcp", new(enr.TCP))); err != nil {
if !enr.IsNotFound(err) {
log.WithError(err).Error("Could not retrieve tcp port")
log.WithError(err).Debug("Could not retrieve tcp port")
}
continue
}
subnets, err := retrieveAttSubnets(node.Record())
if err != nil {
log.Errorf("could not retrieve subnets: %v", err)
log.Debugf("could not retrieve subnets: %v", err)
continue
}
for _, comIdx := range subnets {