summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2022-01-19 12:39:11 +0000
committerGitHub <noreply@github.com>2022-01-19 12:39:11 +0000
commit7ad7a47e5ae01b57299b17a266cc3b0269c0b3cd (patch)
tree4fd6526048b3c631dcf8b9a05ad14da582a78743 /synapse
parentFix preview of imgur and Tenor URLs. (#11669) (diff)
downloadsynapse-7ad7a47e5ae01b57299b17a266cc3b0269c0b3cd.tar.xz
Add missing `auto_attribs=True` to the `_WrappedRustReporter` class (#11768)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/logging/opentracing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py
index 5672d60de3..b240d2d21d 100644
--- a/synapse/logging/opentracing.py
+++ b/synapse/logging/opentracing.py
@@ -247,7 +247,7 @@ try:
         class BaseReporter:  # type: ignore[no-redef]
             pass
 
-    @attr.s(slots=True, frozen=True)
+    @attr.s(slots=True, frozen=True, auto_attribs=True)
     class _WrappedRustReporter(BaseReporter):
         """Wrap the reporter to ensure `report_span` never throws."""