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 16, 2023
1 parent 1da72b4 commit f834fda
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 @@ -24,7 +24,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 f834fda

Please sign in to comment.