summary refs log tree commit diff
path: root/synapse/config/tracer.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/tracer.py')
-rw-r--r--synapse/config/tracer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/config/tracer.py b/synapse/config/tracer.py
index 0c1a854f09..727a1e7008 100644
--- a/synapse/config/tracer.py
+++ b/synapse/config/tracer.py
@@ -39,7 +39,9 @@ class TracerConfig(Config):
         try:
             check_requirements("opentracing")
         except DependencyException as e:
-            raise ConfigError(e.message)
+            raise ConfigError(
+                e.message  # noqa: B306, DependencyException.message is a property
+            )
 
         # The tracer is enabled so sanitize the config