lib/google/cloud/logging/errors.rb in google-cloud-logging-1.6.2 vs lib/google/cloud/logging/errors.rb in google-cloud-logging-1.6.3
- old
+ new
@@ -51,11 +51,11 @@
# @return [Array<Google::Cloud::Logging::Entry>] entries The entry
# objects that were not written to the API due to the error.
attr_reader :entries
def initialize message, entries = nil
- super(message)
+ super message
@entries = entries if entries
end
end
##
@@ -90,10 +90,10 @@
# @return [Array<Google::Cloud::Logging::Entry>] entries The entry
# objects that were not written to the API due to the error.
attr_reader :entries
def initialize message, entries = nil
- super(message)
+ super message
@entries = entries if entries
end
end
end
end