Autofix Rails/EagerEvaluationLogMessage (#23429)
* Autofix Rails/EagerEvaluationLogMessage * Update spec for debug block syntax
This commit is contained in:
		
							parent
							
								
									6a71bb23c2
								
							
						
					
					
						commit
						ed570050c6
					
				
					 17 changed files with 21 additions and 19 deletions
				
			
		|  | @ -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 a new issue