lib/grafeas/v1/build_pb.rb in grafeas-v1-0.14.1 vs lib/grafeas/v1/build_pb.rb in grafeas-v1-0.14.2
- old
+ new
@@ -13,10 +13,10 @@
pool = Google::Protobuf::DescriptorPool.generated_pool
begin
pool.add_serialized_file(descriptor_data)
-rescue TypeError => e
+rescue TypeError
# Compatibility code: will be removed in the next major version.
require 'google/protobuf/descriptor_pb'
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
parsed.clear_dependency
serialized = parsed.class.encode(parsed)