Browse Source

Fix logging in ProcessFeedService (#4270)

closed-social-v3
Akihiko Odaki 7 years ago
committed by Eugen Rochko
parent
commit
f0d6550f16
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/process_feed_service.rb

+ 1
- 1
app/services/process_feed_service.rb 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

Loading…
Cancel
Save