From a5a07da8926589647160ac642a8e082bbeca4451 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 19 Jul 2017 01:37:26 +0200 Subject: Correct OStatus inflection (Ostatus -> OStatus) (#4255) --- app/services/process_feed_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services/process_feed_service.rb') diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index b99048a06..9fa8eda51 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -20,7 +20,7 @@ class ProcessFeedService < BaseService end def process_entry(xml, account) - activity = Ostatus::Activity::General.new(xml, account) + 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}" -- cgit From f0d6550f1628b828268369b3ffcc352bab127012 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Wed, 19 Jul 2017 23:02:03 +0900 Subject: Fix logging in ProcessFeedService (#4270) --- app/services/process_feed_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services/process_feed_service.rb') 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 -- cgit