rust-lang / rust-lang/rustc-perf
Return 500 along with line number on panics
Open
Nobody has claimed this yet.
A-api
C-improvement
- Dominant language
- Rust
- Stars
- 733
- Forks
- 189
- Avg merge
- 10h 52m
- Merged PRs (30d)
- 43
Description
Currently we return a 502 on panics with no information about what we wrong. We should instead return 500s with the line number where the panic occurred.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the panic handling and HTTP response entry point in the Rust service. Reproduce a panic, then verify that the response is HTTP 500 and includes the line number where the panic occurred.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100