parent
500c3c54a6
commit
bbf5ed2ba1
1 changed files with 11 additions and 13 deletions
|
@ -364,21 +364,19 @@ pub async fn post_panic(
|
||||||
}
|
}
|
||||||
|
|
||||||
fn report_to_slack(panic: &Panic) -> bool {
|
fn report_to_slack(panic: &Panic) -> bool {
|
||||||
if panic.os_name == "Linux" {
|
if panic.payload.contains("ERROR_SURFACE_LOST_KHR") {
|
||||||
if panic.payload.contains("ERROR_SURFACE_LOST_KHR") {
|
return false;
|
||||||
return false;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if panic.payload.contains("ERROR_INITIALIZATION_FAILED") {
|
if panic.payload.contains("ERROR_INITIALIZATION_FAILED") {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if panic
|
if panic
|
||||||
.payload
|
.payload
|
||||||
.contains("GPU has crashed, and no debug information is available")
|
.contains("GPU has crashed, and no debug information is available")
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
true
|
true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue