mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 22:19:32 +00:00
Fix logging in ProcessFeedService (#4270)
This commit is contained in:
parent
8400bee3b1
commit
f0d6550f16
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue