This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Skip full text search if failed (
#9654
)
* Skip full text search if failed * Move rescue block to "perform_statuses_search!"
pull/4/head
Jeong Arm
5 years ago
committed by
Eugen Rochko
parent
6fb6a53938
commit
511231ce57
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/services/search_service.rb
+ 2
- 0
app/services/search_service.rb
View File
@ -34,6 +34,8 @@ class SearchService < BaseService
.
compact
statuses
.
reject
{
|
status
|
StatusFilter
.
new
(
status
,
account
)
.
filtered?
}
rescue
Faraday
::
ConnectionFailed
[
]
end
def
perform_hashtags_search!
Write
Preview
Loading…
Cancel
Save