Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion crates/goose/src/providers/claude_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,11 @@ impl ClaudeCodeProvider {

let mut child = cmd
.spawn()
.map_err(|e| ProviderError::RequestFailed(format!("Failed to spawn command: {}", e)))?;
.map_err(|e| ProviderError::RequestFailed(format!(
"Failed to spawn Claude CLI command '{}': {}. \
Make sure the Claude Code CLI is installed and in your PATH, or set CLAUDE_CODE_COMMAND in your config to the correct path.",
self.command, e
)))?;

let stdout = child
.stdout
Expand Down