summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorJonathan de Jong <jonathan@automatia.nl>2021-03-24 14:34:30 +0100
committerGitHub <noreply@github.com>2021-03-24 09:34:30 -0400
commit4c3827f2c18180533b804ebd4d8f5cb90774244b (patch)
tree5a655fea7a1aeb307e09787f73a29db8918a0a64 /synapse/storage
parentSpaces summary: call out to other servers (#9653) (diff)
downloadsynapse-4c3827f2c18180533b804ebd4d8f5cb90774244b.tar.xz
Enable addtional flake8-bugbear linting checks. (#9659)
Diffstat (limited to '')
-rw-r--r--synapse/storage/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index f1ba529a2d..5b0b9a20bf 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -670,7 +670,7 @@ class DatabasePool:
 
             for after_callback, after_args, after_kwargs in after_callbacks:
                 after_callback(*after_args, **after_kwargs)
-        except:  # noqa: E722, as we reraise the exception this is fine.
+        except Exception:
             for after_callback, after_args, after_kwargs in exception_callbacks:
                 after_callback(*after_args, **after_kwargs)
             raise