mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:56:02 -04:00
Opentracing Utils (#5722)
* Add decerators for tracing functions * Use the new clean contexts * Context and edu utils * Move opentracing setters * Move whitelisting * Sectioning comments * Better args wrapper * Docstrings Co-Authored-By: Erik Johnston <erik@matrix.org> * Remove unused methods. * Don't use global * One tracing decorator to rule them all.
This commit is contained in:
parent
841b12867e
commit
18a466b84e
3 changed files with 357 additions and 101 deletions
|
@ -131,7 +131,7 @@ class _LogContextScope(Scope):
|
|||
|
||||
def close(self):
|
||||
if self.manager.active is not self:
|
||||
logger.error("Tried to close a none active scope!")
|
||||
logger.error("Tried to close a non-active scope!")
|
||||
return
|
||||
|
||||
if self._finish_on_close:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue