Added a little bit of logging to parser

This commit is contained in:
Raphael 2010-07-17 09:35:22 -07:00
parent d8ad4367d5
commit 8d00063b6e

View file

@ -30,6 +30,7 @@ module Diaspora
def store_objects_from_xml(xml)
objects = parse_objects_from_xml(xml)
objects.each do |p|
Rails.logger.info("Receiving object:\n#{p.inspect}")
if p.is_a? Retraction
p.perform
elsif p.is_a? Request