Put file location details of panic on separate line

This commit is contained in:
Joseph Lyons 2023-04-07 14:32:14 -04:00
parent 676dbdc57b
commit 035189a2a1

View File

@ -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(),