diff --git a/libs/agent/chat/service.rs b/libs/agent/chat/service.rs index 16eb352..4983bf2 100644 --- a/libs/agent/chat/service.rs +++ b/libs/agent/chat/service.rs @@ -587,7 +587,7 @@ impl ChatService { processed_history = compact_summary.retained; } Err(e) => { - let _ = e; + tracing::warn!(error = %e, "conversation compaction failed, using full history"); } } } diff --git a/libs/git/ssh/handle.rs b/libs/git/ssh/handle.rs index 5a5c5a9..ec2fcbe 100644 --- a/libs/git/ssh/handle.rs +++ b/libs/git/ssh/handle.rs @@ -756,9 +756,7 @@ fn build_git_command(service: GitService, path: PathBuf) -> tokio::process::Comm let cwd = match path.canonicalize() { Ok(p) => p, Err(e) => { - // Log and continue with the raw path — the git process will fail - // with a clear "repository not found" message rather than panicking here. - let _ = e; + tracing::debug!(error = %e, "path canonicalize failed, falling back to raw path"); path.clone() } };