mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
CLI show extension errors (#6398)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user