mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 01:54:48 -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
|
@ -496,7 +496,7 @@ def timeout_deferred(
|
|||
|
||||
try:
|
||||
deferred.cancel()
|
||||
except: # noqa: E722, if we throw any exception it'll break time outs
|
||||
except Exception: # if we throw any exception it'll break time outs
|
||||
logger.exception("Canceller failed during timeout")
|
||||
|
||||
# the cancel() call should have set off a chain of errbacks which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue