removed debugging outputs

This commit is contained in:
Sean Kirby 2010-05-10 16:05:45 -04:00
parent 77b7b6b66f
commit 818711f165
1 changed files with 1 additions and 3 deletions

View File

@ -14,7 +14,7 @@ module Hydra #:nodoc:
return Message.build(eval(message.chomp))
rescue SyntaxError, NameError
# 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
end
@ -26,8 +26,6 @@ module Hydra #:nodoc:
raise UnprocessableMessage unless message.is_a?(Hydra::Message)
@writer.write(message.serialize+"\n")
rescue Errno::EPIPE
$stderr.write $!.inspect
$stderr.write $!.backtrace.join("\n")
raise IOError
end