retry! macro in response_data triggers unnecessary retry for object_exists
bug
**Describe the bug**
When using Bucket::object_exists the response_data call will trigger an unnecessary retry with warning logs in case of 404.
**To Reproduce**
Call Bucket::object_exists for a non-existant path.
**Expected behavior**
A 404 is not an unexpected result that should be retried in case of object_exists and it causes unnecessary delay and log clutter.
**Environment**
- lib version 0.37.0 (checked that 0.37.1 has nothing affecting this functionality)
0 条评论