```ruby
# frozen_string_literal: true

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

Throw error on ElasticSearch connection
user
```ruby
# frozen_string_literal: true

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