mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-08 00:02:46 -04:00
Two changes: 1. The HTTP retry path has been refactored to make retries on errors that are not RestClient exceptions possible by bringing the logic up a level. This also has the effect of somewhat simplifying the exception handling logic which can be somewhat difficult to reason about right now. 2. Retry on `RestClient::Conflict` (a 409 from the API) as discussed in issue #431. Fixes #431.