-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return 404 error when policy-bot is not installed (#303)
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.
- Loading branch information
Showing
1 changed file
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters