mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Autofix Rails/EagerEvaluationLogMessage (#23429)
* Autofix Rails/EagerEvaluationLogMessage * Update spec for debug block syntax
This commit is contained in:
@@ -38,7 +38,7 @@ class ActivityPub::FetchRemoteKeyService < BaseService
|
||||
|
||||
find_actor(owner_uri, @owner, suppress_errors)
|
||||
rescue Error => e
|
||||
Rails.logger.debug "Fetching key #{uri} failed: #{e.message}"
|
||||
Rails.logger.debug { "Fetching key #{uri} failed: #{e.message}" }
|
||||
raise unless suppress_errors
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user