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

Return 404 error when policy-bot is not installed #303

Merged
merged 1 commit into from
May 17, 2021

Conversation

bluekeyes
Copy link
Member

Previously, the server returned a 500 error with no details when trying
to view details for a PR where policy-bot was not installed. This was
most likely to happen if people followed existing links in a repository
that was moved between organizations.

Ideally, this would use a nice HTML 404 page, but for now, just include
a more descriptive plain text message.

Fixes #203.

Previously, the server returned a 500 error with no details when trying
to view details for a PR where policy-bot was not installed. This was
most likely to happen if people followed existing links in a repository
that was moved between organizations.

Ideally, this would use a nice HTML 404 page, but for now, just include
a more descriptive plain text message.
@bluekeyes bluekeyes requested a review from a team May 14, 2021 23:51
@bluekeyes bluekeyes merged commit b80414e into develop May 17, 2021
@bluekeyes bluekeyes deleted the bkeyes/unknown-404 branch May 17, 2021 15:21
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.

Server error when viewing details for unknown repositories
2 participants