aws / aws-xray-sdk-go

AWS X-Ray SDK for the Go programming language.
Apache License 2.0
278 stars 117 forks source link

Added IGNORE_ERROR mode for context missing strategy #253

Closed bhautikpip closed 4 years ago

bhautikpip commented 4 years ago

Issue #, if available:

Description of changes:

Added IGNORE_ERROR for context missing strategy. Now setting AWS_XRAY_CONTEXT_MISSING to IGNORE_ERROR will just ignore context missing panics.

Addresses Github issue: https://github.com/aws/aws-xray-sdk-go/issues/251

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