Skip to content

Commit

Permalink
downgrade sentinel peer count error to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Intizar-T committed Aug 28, 2024
1 parent e714bf2 commit 8ace136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/checker/peers/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func Start() error {
newPeerCount, err := checkPeerCounts()
log.Debug().Int("peer count", newPeerCount).Msg("peer count")
if err != nil {
log.Error().Err(err).Msg("Failed to check peer count")
log.Warn().Err(err).Msg("Failed to check peer count")
failCount++
if failCount > 10 {
alert.SlackAlert(fmt.Sprintf("failed to check peer count %d times. Check miko Sentinel logs", failCount))
Expand Down

0 comments on commit 8ace136

Please sign in to comment.