uploadcare / uploadcare-ruby

Ruby API client that handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
https://uploadcare.com
MIT License
39 stars 28 forks source link

RequestError with no messasge is thrown when max_request_tries is exceeded #141

Closed optlsnd closed 9 months ago

optlsnd commented 1 year ago

Describe the bug

If an upload request fails due to exceeding the max number of retries, Uploadcare::Exception::RequestError is thrown without a message, which makes it difficult to debug.

Steps to reproduce

Expected behavior

Uploadcare::Exception::RequestError provides a message describing the failure reason OR max_request_tries doesn't limit the number of status polling requests