Put file location details of panic on separate line
This commit is contained in:
parent
676dbdc57b
commit
035189a2a1
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ fn init_panic_hook(app_version: String) {
|
||||||
let message = match info.location() {
|
let message = match info.location() {
|
||||||
Some(location) => {
|
Some(location) => {
|
||||||
format!(
|
format!(
|
||||||
"thread '{}' panicked at '{}': {}:{}\n{:?}",
|
"thread '{}' panicked at '{}'\n{}:{}\n{:?}",
|
||||||
thread,
|
thread,
|
||||||
payload,
|
payload,
|
||||||
location.file(),
|
location.file(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue