throw error for failed lambda deployments. Closes #655

This commit is contained in:
Eslam A. Hefnawy 2016-03-03 12:13:59 +07:00
parent 7d4f24066f
commit 60870fba0e

View File

@ -132,6 +132,9 @@ module.exports = function(SPlugin, serverlessPath) {
SUtils.sDebug(region[j].stack);
}
}
// throw error for CI
throw new SError('Lambda Deployment Failed.');
}
// Display Successful Function Deployments