Skip to content
Snippets Groups Projects
Commit 511231ce authored by Jeong Arm's avatar Jeong Arm Committed by Eugen Rochko
Browse files

Skip full text search if failed (#9654)

* Skip full text search if failed

* Move rescue block to "perform_statuses_search!"
parent 6fb6a539
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,8 @@ class SearchService < BaseService
.compact
statuses.reject { |status| StatusFilter.new(status, account).filtered? }
rescue Faraday::ConnectionFailed
[]
end
def perform_hashtags_search!
......
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