0
0
Fork 0

rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)

This commit is contained in:
abcang 2017-08-29 02:12:09 +09:00 committed by Eugen Rochko
parent 8f527bd588
commit ce9a5f358e
2 changed files with 9 additions and 1 deletions

View file

@ -42,7 +42,7 @@ class RemoteFollow
def acct_resource
@_acct_resource ||= Goldfinger.finger("acct:#{acct}")
rescue Goldfinger::Error
rescue Goldfinger::Error, HTTP::ConnectionError
nil
end