Skip full text search if failed (#9654)
* Skip full text search if failed * Move rescue block to "perform_statuses_search!"lolsob-rspec
parent
0244534700
commit
c176b4ec80
|
@ -34,6 +34,8 @@ class SearchService < BaseService
|
||||||
.compact
|
.compact
|
||||||
|
|
||||||
statuses.reject { |status| StatusFilter.new(status, account).filtered? }
|
statuses.reject { |status| StatusFilter.new(status, account).filtered? }
|
||||||
|
rescue Faraday::ConnectionFailed
|
||||||
|
[]
|
||||||
end
|
end
|
||||||
|
|
||||||
def perform_hashtags_search!
|
def perform_hashtags_search!
|
||||||
|
|
Loading…
Reference in New Issue