Added a little bit of logging to parser
This commit is contained in:
parent
d8ad4367d5
commit
8d00063b6e
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ module Diaspora
|
||||||
def store_objects_from_xml(xml)
|
def store_objects_from_xml(xml)
|
||||||
objects = parse_objects_from_xml(xml)
|
objects = parse_objects_from_xml(xml)
|
||||||
objects.each do |p|
|
objects.each do |p|
|
||||||
|
Rails.logger.info("Receiving object:\n#{p.inspect}")
|
||||||
if p.is_a? Retraction
|
if p.is_a? Retraction
|
||||||
p.perform
|
p.perform
|
||||||
elsif p.is_a? Request
|
elsif p.is_a? Request
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue