java-stellar-sdk icon indicating copy to clipboard operation
java-stellar-sdk copied to clipboard

Avoid to have unexpected exception on status code 429 TooManyRequests

Open vinamogit opened this issue 3 years ago • 0 comments

Some horizon instances do not populate the Retry-After header (horizon.stellar.org for example). The SDK assumes this header will be present and then throw NumberFormatException instead of the TooManyRequestsException.

This also affect dotnet and maybe other SDKs like flutter.

vinamogit avatar May 22 '22 11:05 vinamogit