Skip to content

Server returns HTTP 500 on submission when no reviewers exist #692

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

Open
lberrymage opened this issue Oct 24, 2024 · 0 comments
Open

Server returns HTTP 500 on submission when no reviewers exist #692

lberrymage opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lberrymage
Copy link
Member

When no reviewers are configured in the backend's database, the code which randomly selects a reviewer fails, causing the server to return an HTTP 500 error when submitting a new app.

This isn't a major issue since it only occurs when there are no reviewers (which isn't the case in our production environment), but it's annoying to encounter in development environments, so we should return a proper error in the API (and perhaps modify the UI as well) to clearly indicate when there are no reviewers available to assign.

@lberrymage lberrymage added the bug Something isn't working label Oct 24, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Roadmap Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant