diff options
author | chr <chr@cybre.space> | 2021-04-05 20:33:05 -0700 |
---|---|---|
committer | chr <chr@cybre.space> | 2021-04-05 20:33:05 -0700 |
commit | 9c46d38db4434f4a1082ad9ae7f899010aa3a004 (patch) | |
tree | a57a204ce8f7f5667b19dd0afbb0d04cbc3872c7 | |
parent | 8856c046e4e035dd0e02de32bd0a9fe4e83c81d2 (diff) |
experimental fix for media stuff
-rw-r--r-- | app/lib/activitypub/activity/create.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |