show error message when cloudwatch datasource can't add
(cherry picked from commit 40b11654fd)
This commit is contained in:
committed by
bergquist
parent
7069fed31d
commit
a1a8c0fc07
@@ -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 };
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user