ciudadanointeligente / write-it

App to create and send messages to public persons. It's a component of POPLUS project.
poplus.org
GNU General Public License v3.0
38 stars 23 forks source link

remove all uses of a bare "except:" clause #1187

Open mhl opened 8 years ago

mhl commented 8 years ago

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.