Commit 2d840f12 by Carl Bergquist Committed by GitHub

Merge pull request #9534 from mtanda/cw_improve_err_msg

(cloudwatch) show error message when cloudwatch datasource can't add
parents fa68eb9b 40b11654
......@@ -318,6 +318,8 @@ function (angular, _, moment, dateMath, kbn, templatingVariable) {
return this.getDimensionValues(region, namespace, metricName, 'ServiceName', dimensions).then(function () {
return { status: 'success', message: 'Data source is working' };
}, function (err) {
return { status: 'error', message: err.message };
});
};
......
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