Skip to content

Commit

Permalink
add more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed Oct 27, 2023
1 parent b49da6e commit d0c2a00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions database/redis/notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ func (connector *DbConnector) filterNotificationsByState(notifications []*moira.
if err != nil {
return nil, nil, fmt.Errorf("failed to get notifications trigger checks: %w", err)
}
connector.logger.Debug().Interface(
"trigger_checks", triggerChecks,
).Msg("Trigger checks")

for i := range notifications {
switch notifications[i].GetState(triggerChecks[i]) {
Expand Down

0 comments on commit d0c2a00

Please sign in to comment.