catch any exception in utils.validate_by_opening