Autofix Rails/EagerEvaluationLogMessage (#23429)
* Autofix Rails/EagerEvaluationLogMessage * Update spec for debug block syntax
This commit is contained in:
@ -285,7 +285,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
||||
|
||||
media_attachments
|
||||
rescue Addressable::URI::InvalidURIError => e
|
||||
Rails.logger.debug "Invalid URL in attachment: #{e}"
|
||||
Rails.logger.debug { "Invalid URL in attachment: #{e}" }
|
||||
media_attachments
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user