lib/avro/ipc.rb in avro-1.9.2 vs lib/avro/ipc.rb in avro-1.10.0
- old
+ new
@@ -276,11 +276,11 @@
# perform server logic
begin
response = call(local_message, request)
rescue AvroRemoteError => e
error = e
- rescue Exception => e
+ rescue Exception => e # rubocop:disable Lint/RescueException
error = AvroRemoteError.new(e.to_s)
end
# write response using local protocol
META_WRITER.write(response_metadata, buffer_encoder)
@@ -348,10 +348,10 @@
end
remote_protocol
end
- def call(local_message, request)
+ def call(_local_message, _request)
# Actual work done by server: cf. handler in thrift.
raise NotImplementedError
end
def read_request(writers_schema, readers_schema, decoder)