Browse Source

Datasource Print the received error (#9043)

Andrei Burd 8 years ago
parent
commit
3222677493
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/services/alerting/conditions/query.go

+ 1 - 1
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)