-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ServerlessHandler: error handling for URI parsing
To address issues with the recent serverless enhancements discovered through local dev testing with the Node.js tool 'serverless': - Don't append a port value to a URI string that already contains one - If the URI string construction or parsing fails for any reason, log an error and return `nil` so that further processing of the function invocation is not impacted These issues are thought to only be reproducible outside of AWS, but it's good to be proactive with a bit of extra caution.
- Loading branch information
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters