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

Fixing AWS SDK handler for registering all clients using custom AWS Service manifest file #75

Merged
merged 4 commits into from
Apr 23, 2019

Conversation

yogiraj07
Copy link
Contributor

*Issue #74 *

Description of changes:
PR #61 changed the way XRayPipelineHandler instance created, which caused regression. This PR maintains the original behavior as required by the interface.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

{
_logger.DebugFormat("The provided stream is null, initializing with default AWS whitelist.");
InitWithDefaultAWSWhitelist(_recorder);
throw new ArgumentNullException("recorder");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like if the recorder is missing when the XRayPipelineHandler is instantiated we'll throw an exception that isn't caught. Is this the same behavior as before the custom manifest was supported, or should it be logged instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new constructor and inline with existing constructor which maintains the same behavior.

@yogiraj07 yogiraj07 merged commit ff4a741 into aws:master Apr 23, 2019
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