Autofix Rails/EagerEvaluationLogMessage (#23429)

* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-07 03:44:36 +01:00
1 parent 6a71bb23c2
commit ed570050c6
17 files changed
+21 -19

No files matched your search

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