Skip to content

Commit

Permalink
restore log
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed May 10, 2021
1 parent 2e9419b commit 29ade42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dot/network/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (s *Service) createNotificationsMessageHandler(info *notificationsProtocol,

err := info.handshakeValidator(peer, hs)
if err != nil {
logger.Warn("failed to validate handshake", "protocol", info.protocolID, "peer", peer, "error", err)
logger.Trace("failed to validate handshake", "protocol", info.protocolID, "peer", peer, "error", err)
return errCannotValidateHandshake
}

Expand All @@ -159,7 +159,7 @@ func (s *Service) createNotificationsMessageHandler(info *notificationsProtocol,
// once validated, send back a handshake
resp, err := info.getHandshake()
if err != nil {
logger.Trace("failed to get handshake", "protocol", info.protocolID, "error", err)
logger.Warn("failed to get handshake", "protocol", info.protocolID, "error", err)
return err
}

Expand Down

0 comments on commit 29ade42

Please sign in to comment.