diff --git a/internal/incident/incident.go b/internal/incident/incident.go index 8c271afd..ab4d0197 100644 --- a/internal/incident/incident.go +++ b/internal/incident/incident.go @@ -265,8 +265,8 @@ func (i *Incident) processSeverityChangedEvent(ctx context.Context, tx *sqlx.Tx, oldSeverity := i.Severity newSeverity := ev.Severity if oldSeverity == newSeverity { - err := fmt.Errorf("%w: %s state event from source %d", event.ErrSuperfluousStateChange, ev.Severity.String(), ev.SourceId) - return err + i.Logger.Debugw("Ignoring superfluous severity change event", zap.Int64("source_id", ev.SourceId), zap.Stringer("event", ev)) + return event.ErrSuperfluousStateChange } i.Logger.Infof("Incident severity changed from %s to %s", oldSeverity.String(), newSeverity.String())