Skip to content

Commit

Permalink
Changed one more log level
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiDiachuk committed Nov 6, 2024
1 parent 0187be1 commit 0d7f4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func CreatePublicIDTranslatorAndIdentifierProvider(

if flowID, err := idTranslator.GetFlowID(pid); err != nil {
// TODO: this is an instance of "log error and continue with best effort" anti-pattern
logger.Err(err).Str("peer", p2plogging.PeerId(pid)).Msg("failed to translate to Flow ID")
logger.Debug().Str("peer", p2plogging.PeerId(pid)).Msg("failed to translate to Flow ID")
} else {
result = append(result, flowID)
}
Expand Down

0 comments on commit 0d7f4e4

Please sign in to comment.