Skip to content

Commit

Permalink
update handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Apr 17, 2019
1 parent 0ad5899 commit f4af27f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ provider:
memorySize: 512
apiKeys:
- ${opt:stage, 'dev'}-key
usagePlan:
quota:
limit: 1000000
offset: 2
period: MONTH
throttle:
burstLimit: 2000
rateLimit: 100
iamRoleStatements:
- Effect: "Allow"
Action:
Expand Down
2 changes: 1 addition & 1 deletion src/storeHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async (event, context, callback) => {

// validate parameters
if (type.length > 0 && url.length <= 0) {
return rspHandler(`URL querystring parameter is required for type of ${type}`, 422)
return rspHandler(`URL querystring parameter is required for type of ${type} - ${url}`, 422)
}

debug(`begin ${type}: ${url}`)
Expand Down

0 comments on commit f4af27f

Please sign in to comment.