Skip to content

Conversation

@leplatrem
Copy link
Contributor

@leplatrem leplatrem commented Apr 24, 2024

Fix #969

Note for reviewers: The location of the test is debatable. I wanted to have the equivalent of a end-to-end test, to make sure we end-up receiving the details in the queue item.

Note 2: I'm not super proud of the trick that consists in replacing the args attribute with our own string, but I couldn't come up with a better idea. I thought to move the inspection code to the queue class, but we wouldn't benefit from the changes in Sentry...

Note 3: Didn't focus on Bugzilla HTTP errors since we don't raise anything when bug details / comments cannot be fetched (we have a catch all in runner). See #971

Open to revisit any choice based on your feedback 🙏

@leplatrem leplatrem requested a review from a team as a code owner April 24, 2024 10:26
@leplatrem leplatrem added the enhancement New feature or request label Apr 24, 2024
@leplatrem leplatrem force-pushed the 969-insightful-http-error branch from 95c69b0 to a75b9b0 Compare April 24, 2024 11:54
@leplatrem leplatrem merged commit 97fe328 into main Apr 24, 2024
@leplatrem leplatrem deleted the 969-insightful-http-error branch April 24, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTPError entries in queue do not provide insighful details

3 participants