From a478a3dd7896f2ccb1fbd044364de5bb31ff281b Mon Sep 17 00:00:00 2001 From: Erik Erikson Date: Wed, 16 Mar 2016 23:04:46 -0700 Subject: [PATCH] Clarify the error message reporting that an account ID could not be loaded to indicate the valid sources of an account ID. --- lib/actions/EndpointBuildApiGateway.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/actions/EndpointBuildApiGateway.js b/lib/actions/EndpointBuildApiGateway.js index 154782213..ce007f480 100644 --- a/lib/actions/EndpointBuildApiGateway.js +++ b/lib/actions/EndpointBuildApiGateway.js @@ -131,7 +131,7 @@ module.exports = function(S) { // If no iamRoleLambda, throw error if (!_this.awsAccountNumber) { - throw new SError('No Lambda IAM Role found'); + throw new SError('Neither an accountId variable nor a Lambda IAM Role variable containing the account ID were found'); } // Get populated endpoint