Rephrase error message for invalid template

This commit is contained in:
Philipp Muens 2017-06-05 11:45:54 +02:00
parent 0abc60335f
commit b060dbca94

View File

@ -19,7 +19,7 @@ module.exports = {
this.options.region
).catch((error) => {
const errorMessage = [
'The generated CloudFormation template is invalid:',
'The CloudFormation template is invalid:',
` ${error.message}`,
].join('');
throw new Error(errorMessage);