Skip to content
Snippets Groups Projects
Unverified Commit 9875be09 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix dashboard crash on ElasticSearch server error (#23751)

parent 15fdd94e
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ class Admin::SystemCheck::ElasticsearchCheck < Admin::SystemCheck::BaseCheck
def running_version
@running_version ||= begin
Chewy.client.info['version']['number']
rescue Faraday::ConnectionFailed
rescue Faraday::ConnectionFailed, Elasticsearch::Transport::Transport::Error
nil
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment