CLI show extension errors (#6398)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2026-01-12 10:26:36 -05:00
committed by GitHub
parent 19d3ead108
commit fb22f4a40d
+9
View File
@@ -510,6 +510,15 @@ pub async fn build_session(session_config: SessionBuilderConfig) -> CliSession {
spinner.clear();
for (name, err) in offer_debug {
eprintln!(
"{}",
style(format!(
"Warning: Failed to start extension '{}' ({}), continuing without it",
name, err
))
.yellow()
);
if let Err(debug_err) = offer_extension_debugging_help(
&name,
&err.to_string(),