Datasource Print the received error (#9043)

This commit is contained in:
Andrei Burd 2017-08-16 17:56:51 +03:00 committed by Torkel Ödegaard
parent 020aae1427
commit 3222677493

View File

@ -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)