Use more generic error messages in gpui (#33651)

Follow-up of https://github.com/zed-industries/zed/pull/32537

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov
2025-06-30 13:40:31 +00:00
committed by GitHub
parent 1c05062482
commit e37ef2a991
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ pub fn guess_compositor() -> &'static str {
pub(crate) fn current_platform(_headless: bool) -> Rc<dyn Platform> {
Rc::new(
WindowsPlatform::new()
.inspect_err(|err| show_error("Error: Zed failed to launch", err.to_string()))
.inspect_err(|err| show_error("Failed to launch", err.to_string()))
.unwrap(),
)
}