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

Export spanFromContext #451

Closed
wants to merge 1 commit into from
Closed

Export spanFromContext #451

wants to merge 1 commit into from

Conversation

GTB3NW
Copy link

@GTB3NW GTB3NW commented Jun 22, 2022

Matches the logic from TransactionFromContext and returns nil.
This is idiomatic and does what it says on the tin, if the context
does not have a span contained within it, I would not expect anything
to be returned. An error seems... extra.

Matches the logic from `TransactionFromContext` and returns nil.
This is idiomatic and does what it says on the tin, if the context
does not have a span contained within it, I would not expect anything
to be returned. An error seems... extra.
@GTB3NW
Copy link
Author

GTB3NW commented Jun 22, 2022

cc: @rhcarvalho - Not sure if you work for sentry anymore; If you do please could you weigh in on this? The function was originally created by you an annotated with some ideas for future plans.

@GTB3NW
Copy link
Author

GTB3NW commented Jun 22, 2022

Opened a new one to switch branch. Sorry for the PR spam - #452

@GTB3NW GTB3NW closed this Jun 22, 2022
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.

1 participant