diff options
author | abcang <abcang1015@gmail.com> | 2017-08-29 02:12:09 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-28 19:12:09 +0200 |
commit | ce9a5f358ed1ea5039c1de0bc896dc60622852f7 (patch) | |
tree | aaa1be760ae3ddf6aa52cdd5464a537244ed55f0 /app | |
parent | 8f527bd5884ccb8bfc7f1ff583fa35ae4fa6618c (diff) |
rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)
Diffstat (limited to 'app')
-rw-r--r-- | app/models/remote_follow.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/remote_follow.rb b/app/models/remote_follow.rb index 8366d43c5..c3f867743 100644 --- a/app/models/remote_follow.rb +++ b/app/models/remote_follow.rb @@ -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 |