mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-27 00:03:06 -05: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