Commit 89a3d023 by Carl Bergquist Committed by GitHub

Merge pull request #6453 from utkarshcmu/alert_message_typo

Log bad alert config and fixed alert message typo
parents bb7f03c9 d009c6b9
......@@ -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 := ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment