From 12175003505b07abafbc80d7b3bbc57c889923ce Mon Sep 17 00:00:00 2001 From: chr Date: Mon, 5 Apr 2021 21:01:48 -0700 Subject: reraise seahorse error on incoming statuses --- app/lib/activitypub/activity/create.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index ad88ec385..99d52407b 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -253,8 +253,8 @@ class ActivityPub::Activity::Create < ActivityPub::Activity rescue Mastodon::UnexpectedResponseError, HTTP::TimeoutError, HTTP::ConnectionError, OpenSSL::SSL::SSLError RedownloadMediaWorker.perform_in(rand(30..600).seconds, media_attachment.id) rescue Seahorse::Client::NetworkingError - Rails.logger.info "Ran into seahorse networking error on MEDIA:#{media_attachment.id} for STATUS:#{media_attachment.status_id}" - RedownloadMediaWorker.perform_in(rand(30..600).seconds, media_attachment.id) + Rails.logger.info "Ran into seahorse networking error on MEDIA:#{media_attachment.id} (url:#{media_attachment.remote_url})" + raise end end -- cgit