Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Log stack traces when a missing opentracing span is detected
Browse files Browse the repository at this point in the history
Make it easier to track down where opentracing spans are going missing
by including stack traces in the logs.
  • Loading branch information
Sean Quah committed Oct 4, 2021
1 parent eda8c88 commit b4bc5e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/logging/opentracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ def ensure_active_span_inner_2(*args, **kwargs):
"There was no active span when trying to %s."
" Did you forget to start one or did a context slip?",
message,
stack_info=True,
)

return ret
Expand Down

0 comments on commit b4bc5e9

Please sign in to comment.