Skip to content

fix(fetchV2Transfer): Update status when catching DownloadLimitReached exception#290

Merged
sirambd merged 1 commit intomainfrom
fix/fetchV2Transfer-expired
Apr 30, 2026
Merged

fix(fetchV2Transfer): Update status when catching DownloadLimitReached exception#290
sirambd merged 1 commit intomainfrom
fix/fetchV2Transfer-expired

Conversation

@valentinperignon
Copy link
Copy Markdown
Member

If the API returns download_limit_reached, we do not update the transfer status

Copilot AI review requested due to automatic review settings April 30, 2026 09:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ensures v2 transfer fetch failures triggered by the API error download_limit_reached result in a local status update, aligning the DB state with backend responses.

Changes:

  • Extend fetchV2Transfer failure handling to catch DownloadLimitReached.
  • Update local transfer status when that exception occurs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@valentinperignon valentinperignon force-pushed the fix/fetchV2Transfer-expired branch from 3544939 to fba0062 Compare April 30, 2026 09:48
@sirambd sirambd enabled auto-merge April 30, 2026 09:53
@valentinperignon valentinperignon force-pushed the fix/fetchV2Transfer-expired branch from fba0062 to 6816469 Compare April 30, 2026 11:23
@sonarqubecloud
Copy link
Copy Markdown

@sirambd sirambd merged commit e4e2092 into main Apr 30, 2026
6 checks passed
@sirambd sirambd deleted the fix/fetchV2Transfer-expired branch April 30, 2026 11:25
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.

3 participants