Autofix Rails/EagerEvaluationLogMessage (#23429)
* Autofix Rails/EagerEvaluationLogMessage * Update spec for debug block syntax
This commit is contained in:
@ -15,6 +15,6 @@ class ActivityPub::ProcessingWorker
|
||||
|
||||
ActivityPub::ProcessCollectionService.new.call(body, actor, override_timestamps: true, delivered_to_account_id: delivered_to_account_id, delivery: true)
|
||||
rescue ActiveRecord::RecordInvalid => e
|
||||
Rails.logger.debug "Error processing incoming ActivityPub object: #{e}"
|
||||
Rails.logger.debug { "Error processing incoming ActivityPub object: #{e}" }
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user