Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Put file location details of panic on separate line

Joseph Lyons035189a2a138
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index 0e4f15261f9..aec012db0bf 100644
--- a/crates/zed/src/main.rs
+++ b/crates/zed/src/main.rs
@@ -336,7 +336,7 @@ fn init_panic_hook(app_version: String) {
let message = match info.location() {
Some(location) => {
format!(
- "thread '{}' panicked at '{}': {}:{}\n{:?}",
+ "thread '{}' panicked at '{}'\n{}:{}\n{:?}",
thread,
payload,
location.file(),