about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/monsterfork.rake6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasks/monsterfork.rake b/lib/tasks/monsterfork.rake
index 63ce3cd4e..02ed97a9a 100644
--- a/lib/tasks/monsterfork.rake
+++ b/lib/tasks/monsterfork.rake
@@ -32,7 +32,11 @@ namespace :monsterfork do
     Account.remote.without_suspended.where(actor_type: 'Application').find_each do |account|
       Rails.logger.info("Refetching application actor: #{account.acct}")
       account.update!(last_webfingered_at: nil)
-      ResolveAccountService.new.call(account)
+      begin
+        ResolveAccountService.new.call(account)
+      rescue Goldfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError, Mastodon::UnexpectedResponseError => e
+        Rails.logger.info("  Failed: #{e.class} (#{e.message})")
+      end
     end
     Rails.logger.info('Done!')
   end