From 9c46d38db4434f4a1082ad9ae7f899010aa3a004 Mon Sep 17 00:00:00 2001 From: chr Date: Mon, 5 Apr 2021 20:33:05 -0700 Subject: [PATCH] experimental fix for media stuff --- app/lib/activitypub/activity/create.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index 612744676..ad88ec385 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -253,7 +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 - nil + 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) end end