Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Catch og skip 504-exceptions from the Apollo GraphQL client #25

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

hermanwh
Copy link
Contributor

@hermanwh hermanwh commented Oct 1, 2024

The coroutine process keeps stoping when facing unexpected responses from the Github GraphQL API. By catching and skipping, the idea is that the following iteration for the same cursor will result in a successful request.

The coroutine process keeps stoping when facing unexpected responses
from the Github GraphQL API. By catching and skipping, the idea is
that the following iteration for the same cursor will result in
a successful request.
Copy link

@eivindsd eivindsd left a comment

Choose a reason for hiding this comment

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

Nice!

@hermanwh hermanwh merged commit a0ebd6f into main Oct 1, 2024
1 check passed
@hermanwh hermanwh deleted the catch-504-apollo branch October 1, 2024 10:24
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