logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f0d6550f1628b828268369b3ffcc352bab127012
parent: 8400bee3b1960a56746196508b5e54ad9b2e0492
Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Date:   Wed, 19 Jul 2017 23:02:03 +0900

Fix logging in ProcessFeedService (#4270)


Diffstat:

Mapp/services/process_feed_service.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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