Update gemini error msg (#3847)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2025-08-05 10:40:21 +02:00
committed by GitHub
parent 918faddf03
commit 66f8ef123b
+7 -3
View File
@@ -176,9 +176,13 @@ impl GeminiCliProvider {
cmd.stdout(Stdio::piped()).stderr(Stdio::piped());
let mut child = cmd
.spawn()
.map_err(|e| ProviderError::RequestFailed(format!("Failed to spawn command: {}", e)))?;
let mut child = cmd.spawn().map_err(|e| {
ProviderError::RequestFailed(format!(
"Failed to spawn Gemini CLI command '{}': {}. \
Make sure the Gemini CLI is installed and in your PATH.",
self.command, e
))
})?;
let stdout = child
.stdout