1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py
index dee12cbc49..e9cbf88f1c 100644
--- a/synapse/metrics/__init__.py
+++ b/synapse/metrics/__init__.py
@@ -754,8 +754,8 @@ def _setup_jemalloc_stats():
try:
_setup_jemalloc_stats()
-except Exception:
- logger.info("Failed to setup collector to record jemalloc stats.")
+except Exception as e:
+ logger.info("Failed to setup collector to record jemalloc stats: %s", e)
try:
# Ensure the reactor has all the attributes we expect
|