mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
Skip full text search if failed (#9654)
* Skip full text search if failed * Move rescue block to "perform_statuses_search!"
This commit is contained in:
parent
6fb6a53938
commit
511231ce57
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue