mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 19:30:36 -06:00
Merge pull request #6453 from utkarshcmu/alert_message_typo
Log bad alert config and fixed alert message typo
This commit is contained in:
commit
89a3d023ce
@ -104,7 +104,8 @@ func (e *DashAlertExtractor) GetAlerts() ([]*m.Alert, error) {
|
||||
panelQuery := findPanelQueryByRefId(panel, queryRefId)
|
||||
|
||||
if panelQuery == nil {
|
||||
return nil, ValidationError{Reason: "Alert refes to query that cannot be found"}
|
||||
e.log.Error("Query not found", "panel", alert.PanelId, "queryRefId", queryRefId)
|
||||
return nil, ValidationError{Reason: "Alert refers to query that cannot be found"}
|
||||
}
|
||||
|
||||
dsName := ""
|
||||
|
Loading…
Reference in New Issue
Block a user