boyuan12 / boyuan12/Codepo

Return 500 error when visit a invalid repo's setting page

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When visiting a repo that doesn't exist settings page, it will return a 500 error, as opposed to 404.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to [https://github-clone-dj.herokuapp.com/gitt/APODD/settings/](https://github-clone-dj.herokuapp.com/gitt/APODD/settings/)

**Expected behavior**
Should return a 404 error in some sort

**Screenshots**
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-11-08 at 4 09 39 PM

**Desktop (please complete the following information):**
- OS: MacOS
- Browser: Chrome
- Version 68

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem at the settings URL shown in the issue using a repository that does not exist, then trace the request handling for that page. Confirm the current 500 response and identify the existing not-found behavior to follow. Done means the invalid repository settings URL returns a 404 instead of a 500.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.