summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2022-01-19 12:44:55 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2022-01-19 12:44:55 +0000
commitd1e6333f12d8a121c649c6176e0ac5e915345366 (patch)
treed98f286db7ba8898c12f9d1f0b0d84ac75999316 /synapse
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentAdd missing `auto_attribs=True` to the `_WrappedRustReporter` class (#11768) (diff)
downloadsynapse-d1e6333f12d8a121c649c6176e0ac5e915345366.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
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."""