Http retry should only happen at Http Error (which are transport errors) #975

Merged
crodas merged 3 commits from bug/939-retry into main 2025-08-19 15:46:32 +00:00
crodas commented 2025-08-18 14:52:31 +00:00 (Migrated from github.com)

Description

Fixes #939


Notes to the reviewers


Suggested CHANGELOG Updates

CHANGED

ADDED

REMOVED

FIXED


Checklist

### Description Fixes #939 ----- ### Notes to the reviewers <!-- In this section you can include notes directed to the reviewers, like explaining why some parts of the PR were done in a specific way --> ----- ### Suggested [CHANGELOG](https://github.com/cashubtc/cdk/blob/main/CHANGELOG.md) Updates <!-- Please do not edit the actual changelog but note what you changed here. --> #### CHANGED #### ADDED #### REMOVED #### FIXED ---- ### Checklist * [ ] I followed the [code style guidelines](https://github.com/cashubtc/cdk/blob/main/CODE_STYLE.md) * [ ] I ran `just final-check` before committing
thesimplekid (Migrated from github.com) requested changes 2025-08-18 15:17:19 +00:00
@ -249,7 +268,13 @@ impl HttpClient {
}
thesimplekid (Migrated from github.com) commented 2025-08-18 15:16:17 +00:00
                    if status_code >= 400 && status_code <= 499 {
```suggestion if status_code >= 400 && status_code <= 499 { ```
thesimplekid (Migrated from github.com) approved these changes 2025-08-18 16:38:14 +00:00
thesimplekid (Migrated from github.com) approved these changes 2025-08-19 13:56:26 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!975
No description provided.