Autofix Rubocop Style/RescueStandardError (#23745)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-20 11:01:20 +01:00
1 parent 62c4aecf8f
commit 59c8d43d94
6 files changed
+9 -24

No files matched your search

+1 -1
View File
@@ -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