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

Gracefully handle HTTP errors #122

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

cmelone
Copy link
Collaborator

@cmelone cmelone commented Oct 11, 2024

closes #111

We were setting raise_for_status and not handling exceptions raised by aiohttp, which clogged up the logs with stack traces and env variables.

I did not add an automatic retry to HTTP requests because the issues in the cluster are not necessarily going to solve themselves in the scope of 5 retried requests.

I'll be dealing with the gitlab 500 errors in a different PR.

closes #111

We were setting `raise_for_status` and not handling exceptions raised by aiohttp, which clogged up the logs with stack traces and env variables.

I did not add an automatic retry to HTTP requests because the issues in the cluster are not necessarily going to solve themselves in the scope of 5 retried requests.

I'll be dealing with the gitlab 500 errors in a different PR.
@cmelone cmelone requested a review from alecbcs October 11, 2024 14:11
@cmelone cmelone self-assigned this Oct 11, 2024
Copy link
Member

@alecbcs alecbcs left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@alecbcs alecbcs merged commit fc11bc3 into develop Oct 23, 2024
5 checks passed
@alecbcs alecbcs deleted the fix/collection-http-errors branch October 23, 2024 21:33
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.

Handle HTTP errors in collection
2 participants