diff options
Diffstat (limited to 'synapse/logging/context.py')
-rw-r--r-- | synapse/logging/context.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/logging/context.py b/synapse/logging/context.py index d8ae3188b7..1cc07eca01 100644 --- a/synapse/logging/context.py +++ b/synapse/logging/context.py @@ -55,7 +55,6 @@ try: def get_thread_resource_usage() -> "Optional[resource.struct_rusage]": return resource.getrusage(RUSAGE_THREAD) - except Exception: # If the system doesn't support resource.getrusage(RUSAGE_THREAD) then we # won't track resource usage. |