def rescue_and_retry(fail_message)
        Retriable.retriable(retry_options) do
          return yield
        end
      rescue StandardError => exception
        log_message fail_message
        log_message "Last exception #{exception}"
      end
def rescue_and_retry(fail_message)
        Retriable.retriable(retry_options) do
          return yield
        end
      rescue StandardError => exception
        log_message fail_message
        log_message "Last exception #{exception}"
      end
This method never fails. It tries multiple times and finally logs the exception