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

handle null/undefined references gracefully without an error #639

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Jul 25, 2019

What does this PR do?

Handle null/undefined references gracefully without an error.

Motivation

null references are very common and shouldn't be considered errors as this can lead to performance degradation when in debug mode. Not having to create an Error object and handling null/undefined gracefully will greatly improve the performance impact.

@rochdev rochdev added enhancement New feature or request core labels Jul 25, 2019
@rochdev rochdev added this to the 0.14.0 milestone Jul 25, 2019
@rochdev rochdev requested a review from a team as a code owner July 25, 2019 19:37
@rochdev rochdev force-pushed the span-context-ref-warn branch from 53a41d9 to 3854129 Compare July 25, 2019 19:45
@rochdev rochdev changed the title update error about invalid references to be just a warning handle null/undefined references gracefully without an error Jul 25, 2019
@rochdev rochdev merged commit 60976ee into master Jul 25, 2019
@rochdev rochdev deleted the span-context-ref-warn branch July 25, 2019 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants