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 16:40:31 +03:00 committed by GitHub
parent 1c05062482
commit e37ef2a991
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

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(),
)
}