mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(alerting): handle all results, even due they have errors
DON'T SWALLOW THE ERR CARL
This commit is contained in:
@@ -101,11 +101,6 @@ func (e *Engine) resultDispatcher() {
|
||||
|
||||
for result := range e.resultQueue {
|
||||
e.log.Debug("Alert Rule Result", "ruleId", result.Rule.Id, "firing", result.Firing)
|
||||
|
||||
if result.Error != nil {
|
||||
e.log.Error("Alert Rule Result Error", "ruleId", result.Rule.Id, "error", result.Error, "retry")
|
||||
} else {
|
||||
e.resultHandler.Handle(result)
|
||||
}
|
||||
e.resultHandler.Handle(result)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user