From 5a11b7e6ad05efd39c6a37cfbef0c113364cb6d6 Mon Sep 17 00:00:00 2001 From: Igor Okulist Date: Mon, 19 Oct 2015 17:47:09 -0700 Subject: [PATCH] Print out error details on deploy action --- tasks/lambda_deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }