removed debugging outputs
This commit is contained in:
parent
77b7b6b66f
commit
818711f165
|
@ -14,7 +14,7 @@ module Hydra #:nodoc:
|
||||||
return Message.build(eval(message.chomp))
|
return Message.build(eval(message.chomp))
|
||||||
rescue SyntaxError, NameError
|
rescue SyntaxError, NameError
|
||||||
# uncomment to help catch remote errors by seeing all traffic
|
# uncomment to help catch remote errors by seeing all traffic
|
||||||
$stderr.write "Not a message: [#{message.inspect}]\n"
|
#$stderr.write "Not a message: [#{message.inspect}]\n"
|
||||||
return gets
|
return gets
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -26,8 +26,6 @@ module Hydra #:nodoc:
|
||||||
raise UnprocessableMessage unless message.is_a?(Hydra::Message)
|
raise UnprocessableMessage unless message.is_a?(Hydra::Message)
|
||||||
@writer.write(message.serialize+"\n")
|
@writer.write(message.serialize+"\n")
|
||||||
rescue Errno::EPIPE
|
rescue Errno::EPIPE
|
||||||
$stderr.write $!.inspect
|
|
||||||
$stderr.write $!.backtrace.join("\n")
|
|
||||||
raise IOError
|
raise IOError
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue