From eb8166fb1636215c6b308d0f93af16b05ad34e90 Mon Sep 17 00:00:00 2001 From: Joseph Lyons Date: Fri, 7 Apr 2023 14:32:14 -0400 Subject: [PATCH] Put file location details of panic on separate line --- crates/zed/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs index 124f78e6d3c5ad47be82b27b04c198995e8e7bbb..12e37ec1e2559cab95e25149c8fc1334e247e808 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(),