Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Exclude initialization failed errors from slack (#18232)

Conrad Irwinb69c6ee7dfdc
diff --git a/crates/collab/src/api/events.rs b/crates/collab/src/api/events.rs
index f8ae5320130..1632c2d798e 100644
--- a/crates/collab/src/api/events.rs
+++ b/crates/collab/src/api/events.rs
@@ -369,6 +369,10 @@ fn report_to_slack(panic: &Panic) -> bool {
return false;
}
+ if panic.payload.contains("ERROR_INITIALIZATION_FAILED") {
+ return false;
+ }
+
if panic
.payload
.contains("GPU has crashed, and no debug information is available")