MS IZ more begin rescue

This commit is contained in:
zhitomirskiyi 2010-10-27 17:18:41 -07:00 committed by maxwell
parent 8b3a9cd801
commit 483960ae98

View file

@ -8,10 +8,15 @@ module Diaspora
webfinger = EMWebfinger.new(salmon.author_email)
webfinger.on_person { |salmon_author|
begin
if salmon.verified_for_key?(salmon_author.public_key)
Rails.logger.info("data in salmon: #{salmon.parsed_data}")
self.receive(salmon.parsed_data, salmon_author)
end
rescue Exception => e
puts e.inspect
Rails.logger e.inspect
end
}
end