Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: make graphql error retries actually work #403

Merged
merged 1 commit into from
Feb 18, 2023
Merged

Conversation

gr2m
Copy link
Contributor

@gr2m gr2m commented Feb 18, 2023

This is really just a refactoring, I didn't touch tests besides reordering the order of state, octokit arguments for consistency. But for some reason the retries didn't work when the retry plugin was used with octokit. With this change, it does. It's also more efficient because it calls the error handler directly instead of throwing an error and assuming it will be caught and handled correctly.

I confirmed this is working with our production app.

@gr2m gr2m added the Type: Bug Something isn't working as documented label Feb 18, 2023
@gr2m gr2m merged commit f29b398 into main Feb 18, 2023
@gr2m gr2m deleted the actually-make-retries-work branch February 18, 2023 20:53
@github-actions
Copy link

🎉 This PR is included in version 4.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
released Type: Bug Something isn't working as documented
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants