Release 0.9.pre4
This commit is contained in:
parent
017e2c4c1d
commit
c102c571e0
|
@ -96,8 +96,8 @@ module Google
|
||||||
if error
|
if error
|
||||||
message = error['reason'] if error.has_key?('reason')
|
message = error['reason'] if error.has_key?('reason')
|
||||||
raise Google::Apis::RateLimitError.new(message,
|
raise Google::Apis::RateLimitError.new(message,
|
||||||
status_code: status,
|
status_code: status,
|
||||||
header: header,
|
header: header,
|
||||||
body: body) if RATE_LIMIT_ERRORS.include?(message)
|
body: body) if RATE_LIMIT_ERRORS.include?(message)
|
||||||
end
|
end
|
||||||
super(status, header, body, message)
|
super(status, header, body, message)
|
||||||
|
|
Loading…
Reference in New Issue