diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/services/import_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/import_service.rb b/app/services/import_service.rb index be3880d40..9b0a03081 100644 --- a/app/services/import_service.rb +++ b/app/services/import_service.rb @@ -212,7 +212,7 @@ class ImportService < BaseService activity = ActivityPub::Activity.factory(activity, @account, imported: true) activity&.perform - rescue ActiveRecord::RecordInvalid, ActiveRecord::RecordNotFound, Mastodon::ValidationError => e + rescue ActiveRecord::RecordInvalid, ActiveRecord::RecordNotFound, Mastodon::ValidationError, HTTP::ConnectionError, HTTP::TimeoutError, OpenSSL::SSL::SSLError, Paperclip::Errors::NotIdentifiedByImageMagickError, Addressable::URI::InvalidURIError, Mastodon::HostValidationError, Mastodon::LengthValidationError => e Rails.logger.error "Error importing status (ActivityPub): #{e}" nil end |