logger instead of debug
This commit is contained in:
parent
d890b57b13
commit
a063207a0a
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class MessageHandler
|
||||||
http.callback {process}
|
http.callback {process}
|
||||||
when :hub_publish
|
when :hub_publish
|
||||||
http = EventMachine::PubSubHubbub.new(query.destination).publish :timeout => TIMEOUT
|
http = EventMachine::PubSubHubbub.new(query.destination).publish :timeout => TIMEOUT
|
||||||
http.callback {process; Rails.logger.debug(http.response)}
|
http.callback {Rails.logger.info(http.response); process}
|
||||||
else
|
else
|
||||||
raise "message is not a type I know!"
|
raise "message is not a type I know!"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue