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

fix [flathub] version error handling #8500

Merged
merged 2 commits into from
Nov 4, 2022

Conversation

chris48s
Copy link
Member

@chris48s chris48s commented Oct 7, 2022

Not Found behaviour has changed (for the worse) upstream

@chris48s chris48s added bug Bugs in badges and the frontend service-badge Accepted and actionable changes, features, and bugs keep-service-tests-green Related to fixing failing tests of the services labels Oct 7, 2022
@shields-ci
Copy link

shields-ci commented Oct 7, 2022

Warnings
⚠️ This PR modified service code for flathub but not its test code.
That's okay so long as it's refactoring existing code.
Messages
📖 ✨ Thanks for your contribution to Shields, @chris48s!

Generated by 🚫 dangerJS against 31049dd

Comment on lines +35 to +39
// the upstream API indicates "not found"
// by returning a 200 OK with a null body
if (data === null) {
throw new NotFound()
}
Copy link
Member

Choose a reason for hiding this comment

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

🤦

@repo-ranger repo-ranger bot merged commit e223f45 into badges:master Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs in badges and the frontend keep-service-tests-green Related to fixing failing tests of the services service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants