Fix link to panic location on GitHub (#35162)
I had a panic, and it reported ``24c2a465bb/src/crates/assistant_tools/src/edit_agent.rs (L686)
(may not be uploaded, line may be incorrect if files modified)`` The `/src` part seems superfluous, and result in a link that don’t work (unlike `24c2a465bb/src/crates/assistant_tools/src/edit_agent.rs (L686)
`). I don’t know why it originally worked (of if it even actually originally worked properly), but there seems to be no reason to keep that `/src`. Release Notes: - N/A
This commit is contained in:
parent
c110f78015
commit
3378f02b7e
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ pub fn init_panic_hook(
|
|||
location.column(),
|
||||
match app_commit_sha.as_ref() {
|
||||
Some(commit_sha) => format!(
|
||||
"https://github.com/zed-industries/zed/blob/{}/src/{}#L{} \
|
||||
"https://github.com/zed-industries/zed/blob/{}/{}#L{} \
|
||||
(may not be uploaded, line may be incorrect if files modified)\n",
|
||||
commit_sha.full(),
|
||||
location.file(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue