From f0d6550f1628b828268369b3ffcc352bab127012 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Wed, 19 Jul 2017 23:02:03 +0900 Subject: [PATCH] Fix logging in ProcessFeedService (#4270) --- app/services/process_feed_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index 9fa8eda519..31191a818f 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -23,7 +23,7 @@ class ProcessFeedService < BaseService activity = OStatus::Activity::General.new(xml, account) activity.specialize&.perform if activity.status? rescue ActiveRecord::RecordInvalid => e - Rails.logger.debug "Nothing was saved for #{id} because: #{e}" + Rails.logger.debug "Nothing was saved for #{activity.id} because: #{e}" nil end end