# frozen_string_literal: true

begin
  Searchkick.client.info
rescue
  abort 'Searchkick not running'
end

# frozen_string_literal: true

begin
  Searchkick.client.info
rescue
  Rails.logger.error 'ElasticSearch not running'
  abort
end

Throw error on ElasticSearch connection
Throw error on ElasticSearch connection
