Commit 61e27109 by Mitsuhiro Tanda

add error message

parent 6564abd5
...@@ -76,6 +76,8 @@ export class CloudWatchConfigCtrl { ...@@ -76,6 +76,8 @@ export class CloudWatchConfigCtrl {
}) })
.then(regions => { .then(regions => {
this.regions = _.uniq(this.regions.concat(_.map(regions, 'value'))); this.regions = _.uniq(this.regions.concat(_.map(regions, 'value')));
}, err => {
console.error('failed to call ec2:DescribeRegions, please check iam setting');
}); });
} }
} }
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