mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
move version conflict logging for mark as complete to sqlstore package
This commit is contained in:
@@ -259,7 +259,10 @@ func SetAlertNotificationStateToCompleteCommand(ctx context.Context, cmd *m.SetA
|
||||
}
|
||||
|
||||
if current.Version != version {
|
||||
return m.ErrAlertNotificationStateVersionConflict
|
||||
sqlog.Error(
|
||||
`notification state out of sync. the notification
|
||||
is marked as complete but has been modified between
|
||||
set as pending and completion.`, "notifierId", current.NotifierId)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user