Skip to content

Commit

Permalink
fix: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
LinLzis committed Jun 22, 2020
1 parent 10a8d4d commit 9166212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const prepareInputs = async (instance, credentials, appId, inputs) => {

if (eventType === 'apigw') {
if (apigwName.includes(currentEvent.name)) {
throw new TypeError('PARAMETER_SCF', `API Gateway name must be unique`)
throw new TypeError('PARAMETER_SCF_PREPAREINPUTS', `API Gateway name must be unique`)
} else {
currentEvent.parameters.serviceName =
currentEvent.parameters.serviceName || currentEvent.name
Expand Down

0 comments on commit 9166212

Please sign in to comment.