Closed
Description
Description of issue or feature request:
An (anti)pattern starts to appear in the newer code (where stricter pylint
checks are applied), a tendency to disable broad-except warnings.
Even though each case has its arguments, we should as a minimum make sure we log the exception and not silently bury it.
Current behavior:
# pylint: disable=broad-except
throughout the code
Expected behavior:
At least log the exception before ignoring it:
try:
do_something()
except Exception as e:
logger.exception("An exception occurred")
Sync with #1178