diff --git a/tasks/lambda_deploy.js b/tasks/lambda_deploy.js index 75ef7c8..1a82a25 100644 --- a/tasks/lambda_deploy.js +++ b/tasks/lambda_deploy.js @@ -63,7 +63,7 @@ module.exports = function (grunt) { if(err.statusCode === 404) { grunt.fail.warn('Unable to find lambda function ' + deploy_function + ', verify the lambda function name and AWS region are correct.'); } else { - grunt.fail.warn('AWS API request failed, check your AWS credentials, region and permissions are correct.'); + grunt.fail.warn('AWS API request failed, check your AWS credentials, region and permissions are correct. Error details: ' + err); } }