Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various enhancements for error handling #44

Merged
merged 1 commit into from
Jan 27, 2017
Merged

Various enhancements for error handling #44

merged 1 commit into from
Jan 27, 2017

Conversation

thedevopsmachine
Copy link
Contributor

Refactored TestCallingWebAPI tests to use TestLambdaContext instead of null so that the APIGatewayProxyFunction class can assume ILambdaContext is never null. Also moved commonly called code into a single method.
Created CustomAuthorizerContextOutput class for use by custom authorizers (since the serializer will serialize a null value).
Modified ErrorTestsController to throw different exceptions based on the query string for testing custom error handling.
Modified ErrorReport method to write to the StringBuilder rather than to Console.WriteLine

…eExceptions and TypeLoadExceptions.

Refactored TestCallingWebAPI tests to use TestLambdaContext instead of null so that the APIGatewayProxyFunction class can assume ILambdaContext is never null. Also moved commonly called code into a single method.
Created CustomAuthorizerContextOutput class for use by custom authorizers (since the serializer will serialize a null value).
Modified ErrorTestsController to throw different exceptions based on the query string for testing custom error handling.
@normj normj merged commit c744dfb into aws:master Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants