You could make this rescue more focused by specifying which type of exception you want to capture. That way it won't be a catch all.