summary refs log tree commit diff
path: root/synapse/config/metrics.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/metrics.py')
-rw-r--r--synapse/config/metrics.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/config/metrics.py b/synapse/config/metrics.py

index dfd27e1523..2b289f4208 100644 --- a/synapse/config/metrics.py +++ b/synapse/config/metrics.py
@@ -56,7 +56,9 @@ class MetricsConfig(Config): try: check_requirements("sentry") except DependencyException as e: - raise ConfigError(e.message) + raise ConfigError( + e.message # noqa: B306, DependencyException.message is a property + ) self.sentry_dsn = config["sentry"].get("dsn") if not self.sentry_dsn: