With all the code that is on the try, maybe we want to be more specific about what error happened. Try to catch different exceptions and raise a more meaningful message.