In some cases, we might want to remove the exception handling completely, and then add back the handling for selected exception types as the exceptions are raised. In others, it will be immediately clear from examining the code which exception was intended to be caught.
There are 12 places in the codebase where there is a bare
except:
- this is bad practice, as explained here:In some cases, we might want to remove the exception handling completely, and then add back the handling for selected exception types as the exceptions are raised. In others, it will be immediately clear from examining the code which exception was intended to be caught.