mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-08 00:02:46 -04:00
Right now we are retrying *most* non-HTTP exceptions. This is problematic because in something like a test context, even a rogue name error could initiate a retry. It's also bad for production because there are quite a number of socket errors [1] for which we don't want to retry. Fixes #462. [1] https://ruby-doc.org/stdlib-2.3.0/libdoc/socket/rdoc/Socket.html