add error message

This commit is contained in:
Mitsuhiro Tanda
2018-10-16 12:03:33 +09:00
parent 6564abd5f3
commit 61e2710961
@@ -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');
});
}
}