lib/ldclient-rb/impl/event_sender.rb in launchdarkly-server-sdk-7.2.0 vs lib/ldclient-rb/impl/event_sender.rb in launchdarkly-server-sdk-7.3.0
- old
+ new
@@ -62,9 +62,10 @@
res_time = nil
unless response.headers["date"].nil?
begin
res_time = Time.httpdate(response.headers["date"])
rescue ArgumentError
+ # Ignored
end
end
return EventSenderResult.new(true, false, res_time)
end
must_shutdown = !LaunchDarkly::Util.http_error_recoverable?(status)