broad-except / W0703#
Message emitted:
Catching too general exception %s
Description:
Used when an except catches a too general exception, possibly burying unrelated errors.
Correct code:
try:
1 / 0
except ZeroDivisionError:
pass
Problematic code:
try:
1 / 0
except Exception: # [broad-except]
pass
Created by the exceptions checker.