diff options
author | Erik Johnston <erik@matrix.org> | 2021-05-04 13:40:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-05-04 13:40:38 +0100 |
commit | dcb79da38aa3de559c390418f819ec2e9a0ae1d8 (patch) | |
tree | 356dfb1e771a06855becf16f9d4f9029c80097f2 /synapse/metrics/__init__.py | |
parent | Apply suggestions from code review (diff) | |
download | synapse-dcb79da38aa3de559c390418f819ec2e9a0ae1d8.tar.xz |
More decriptive log when failing to set up jemalloc collector
Diffstat (limited to 'synapse/metrics/__init__.py')
-rw-r--r-- | synapse/metrics/__init__.py | 4 |
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 |