diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-20 05:01:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 11:01:20 +0100 |
commit | 59c8d43d94aa782848bf00f000512a04fca7c069 (patch) | |
tree | 24774d3dae3ee1d74d66f50b0f09630a0d9c9751 /app/services | |
parent | 62c4aecf8f3cb1e2bf1d0d1611084a3406a7adc0 (diff) |
Autofix Rubocop Style/RescueStandardError (#23745)
Diffstat (limited to 'app/services')
-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 2f48abc36..7a68e4ca3 100644 --- a/app/services/import_service.rb +++ b/app/services/import_service.rb @@ -114,7 +114,7 @@ class ImportService < BaseService status || ActivityPub::FetchRemoteStatusService.new.call(uri) rescue HTTP::Error, OpenSSL::SSL::SSLError, Mastodon::UnexpectedResponseError nil - rescue StandardError => e + rescue => e Rails.logger.warn "Unexpected error when importing bookmark: #{e}" nil end |