Disable minidump generation on dev builds (again) (#36716)
We accidentally deleted this in #36267 Release Notes: - N/A
This commit is contained in:
parent
731b5d0def
commit
20a0c3e920
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ pub fn init_panic_hook(
|
||||||
.or_else(|| info.payload().downcast_ref::<String>().cloned())
|
.or_else(|| info.payload().downcast_ref::<String>().cloned())
|
||||||
.unwrap_or_else(|| "Box<Any>".to_string());
|
.unwrap_or_else(|| "Box<Any>".to_string());
|
||||||
|
|
||||||
crashes::handle_panic(payload.clone(), info.location());
|
if *release_channel::RELEASE_CHANNEL != ReleaseChannel::Dev {
|
||||||
|
crashes::handle_panic(payload.clone(), info.location());
|
||||||
|
}
|
||||||
|
|
||||||
let thread = thread::current();
|
let thread = thread::current();
|
||||||
let thread_name = thread.name().unwrap_or("<unnamed>");
|
let thread_name = thread.name().unwrap_or("<unnamed>");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue