Skip to content

Commit

Permalink
hotfix(notifier): check for adding vals to log (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrMatsko authored Jul 18, 2024
1 parent 8875061 commit 6558fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifier/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (notifier *StandardNotifier) runSender(sender moira.Sender, ch chan Notific
}

logEvent := log.Info()
if plots == nil {
if plots != nil {
logEvent.Int64(moira.LogFieldNamePlotsBuildDuration, plotsBuildDuration)
}
logEvent.
Expand Down

0 comments on commit 6558fad

Please sign in to comment.