gearheads
/
mastodon
Archived
2
0
Fork 0

Fix logging in ProcessFeedService (#4270)

gh/stable
Akihiko Odaki 2017-07-19 23:02:03 +09:00 committed by Eugen Rochko
parent 8400bee3b1
commit f0d6550f16
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class ProcessFeedService < BaseService
activity = OStatus::Activity::General.new(xml, account) activity = OStatus::Activity::General.new(xml, account)
activity.specialize&.perform if activity.status? activity.specialize&.perform if activity.status?
rescue ActiveRecord::RecordInvalid => e 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 nil
end end
end end