Skip to content

Conversation

vincent-pochet
Copy link
Collaborator

Description

This PR adds auto-retry logic for the Wallets::RefreshOngoingBalanceJob for two errors happening with anrock integration:

  • Net::ReadTimeout
  • Integrations::Aggregator::BadGatewayError

The new Integrations::Aggregator::BadGatewayError directly inherit from LagoHttpClient::HttpError to make sure we are not breaking logic already in place around this error type (#3234 for example)

@vincent-pochet vincent-pochet merged commit 14d4699 into main Jul 3, 2025
14 checks passed
@vincent-pochet vincent-pochet deleted the retry-tax-errors branch July 3, 2025 08:36
diegocharles pushed a commit that referenced this pull request Jul 11, 2025
## Description

This PR adds auto-retry logic for the
`Wallets::RefreshOngoingBalanceJob` for two errors happening with anrock
integration:
- `Net::ReadTimeout`
- `Integrations::Aggregator::BadGatewayError`

The new `Integrations::Aggregator::BadGatewayError` directly inherit
from `LagoHttpClient::HttpError` to make sure we are not breaking logic
already in place around this error type
(#3234 for example)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants