Skip to content

Conversation

adamantike
Copy link
Contributor

Issue #: Fixes #315.

Description of changes:
To avoid triggering a panic when a parent segment is not present, we must call next middlewares instead of returning nil in the AWS SDK v2 middleware for X-Ray tracing.

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

To avoid triggering a panic when a parent segment is not present, we
must call next middlewares instead of returning nil in the AWS SDK v2
middleware for X-Ray tracing.

Fixes #315.
Copy link
Contributor

@bhautikpip bhautikpip left a comment

Choose a reason for hiding this comment

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

Looks good :)

@bhautikpip bhautikpip merged commit 3800104 into aws:master Jul 7, 2021
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.

[awsv2] Panic when no parent segment is present
2 participants