diff --git a/pkg/services/alerting/conditions/query.go b/pkg/services/alerting/conditions/query.go index e0a6035355d..ae8008deb75 100644 --- a/pkg/services/alerting/conditions/query.go +++ b/pkg/services/alerting/conditions/query.go @@ -104,7 +104,7 @@ func (c *QueryCondition) executeQuery(context *alerting.EvalContext, timeRange * } if err := bus.Dispatch(getDsInfo); err != nil { - return nil, fmt.Errorf("Could not find datasource") + return nil, fmt.Errorf("Could not find datasource %v", err) } req := c.getRequestForAlertRule(getDsInfo.Result, timeRange)