rust-lang / rust-lang/rustc-perf

Return 500 along with line number on panics

Open
#973 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.