diff --git a/crates/gpui/src/font_cache.rs b/crates/gpui/src/font_cache.rs index 4f0d4fd46159aa259d94f404e78bd9d5a55c0365..b2dc79c87b1455386d0a1a5642a54d963f060019 100644 --- a/crates/gpui/src/font_cache.rs +++ b/crates/gpui/src/font_cache.rs @@ -98,7 +98,12 @@ impl FontCache { } Err(anyhow!( - "could not find a non-empty font family matching one of the given names" + "could not find a non-empty font family matching one of the given names: {}", + names + .iter() + .map(|name| format!("`{name}`")) + .collect::>() + .join(", ") )) }