about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2017-07-19 23:02:03 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-19 16:02:03 +0200
commitf0d6550f1628b828268369b3ffcc352bab127012 (patch)
treefbd2cac26fd8af69fb3809f74de9238e20225bdb
parent8400bee3b1960a56746196508b5e54ad9b2e0492 (diff)
Fix logging in ProcessFeedService (#4270)
-rw-r--r--app/services/process_feed_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index 9fa8eda51..31191a818 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