vendor/thrift/server.rb in garru-ruby_scribe_client-0.0.9 vs vendor/thrift/server.rb in garru-ruby_scribe_client-0.1.0
- old
+ new
@@ -33,10 +33,10 @@
prot = @protocolFactory.get_protocol(trans)
begin
loop do
@processor.process(prot, prot)
end
- rescue Thrift::TransportException, Thrift::ProtocolException
+ rescue Thrift::TransportException, Thrift::ProtocolException => e
ensure
trans.close
end
end
ensure