Skip to content

Commit

Permalink
Fix dashboard crash on ElasticSearch server error (#23751)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Mar 15, 2023
1 parent 15fdd94 commit 9875be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/admin/system_check/elasticsearch_check.rb
Expand Up @@ -31,7 +31,7 @@ def message
def running_version
@running_version ||= begin
Chewy.client.info['version']['number']
rescue Faraday::ConnectionFailed
rescue Faraday::ConnectionFailed, Elasticsearch::Transport::Transport::Error
nil
end
end
Expand Down

0 comments on commit 9875be0

Please sign in to comment.