Fix logging in ProcessFeedService (#4270)
parent
df59dc6639
commit
b085c55263
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue