deleted stuff

If you can, avoid catching general Exception. Rather specify which type of Exception you expect