mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:06:02 -04:00
Enable addtional flake8-bugbear linting checks. (#9659)
This commit is contained in:
parent
c73cc2c2ad
commit
4c3827f2c1
8 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue