Skip to content

fix(wsgi): handle no root span (backport #2659) #2669

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

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 19, 2021

This is an automatic backport of pull request #2659 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
* fix(wsgi): handle no root span

It is possible for tracer.current_root_span() to return None which was
not handled here.

* Explicit none check

Co-authored-by: Julien Danjou <julien@danjou.info>

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Julien Danjou <julien@danjou.info>
(cherry picked from commit 6f6da91)
@mergify mergify bot requested a review from a team as a code owner July 19, 2021 16:22
@mergify mergify bot mentioned this pull request Jul 19, 2021
3 tasks
@mergify mergify bot merged commit cd8f4f9 into 0.50 Jul 19, 2021
@mergify mergify bot deleted the mergify/bp/0.50/pr-2659 branch July 19, 2021 17:06
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.

None yet

2 participants