diff --git a/lib/message_handler.rb b/lib/message_handler.rb index 95c6eb650..ad39d746a 100644 --- a/lib/message_handler.rb +++ b/lib/message_handler.rb @@ -18,6 +18,7 @@ class MessageHandler end def add_hub_notification(destination, feed_location) + puts "going to: #{destination}, telling it to fetch #{feed_location}" @queue.push(Message.new(:pubhub, destination, feed_location)) end @@ -32,7 +33,7 @@ class MessageHandler http.callback {send_to_seed(query, http.response); process} when :pubhub http = EventMachine::PubSubHubbub.new(query.destination).publish query.body, :timeout => TIMEOUT - http.callback { puts "boner city" + http.response ; process} + http.callback { puts "boner city"; process} else raise "message is not a type I know!" end