about summary refs log tree commit diff
diff options
context:
space:
mode:
authorchr <chr@cybre.space>2021-04-05 21:01:48 -0700
committerchr <chr@cybre.space>2021-04-05 21:01:48 -0700
commit12175003505b07abafbc80d7b3bbc57c889923ce (patch)
tree8dd746ef4464978ba9844f0f65e0ceb1bd0f1e38
parent9c46d38db4434f4a1082ad9ae7f899010aa3a004 (diff)
reraise seahorse error on incoming statuses
-rw-r--r--app/lib/activitypub/activity/create.rb4
1 files 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