mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
add error message
This commit is contained in:
@@ -76,6 +76,8 @@ export class CloudWatchConfigCtrl {
|
||||
})
|
||||
.then(regions => {
|
||||
this.regions = _.uniq(this.regions.concat(_.map(regions, 'value')));
|
||||
}, err => {
|
||||
console.error('failed to call ec2:DescribeRegions, please check iam setting');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user