Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneale committed Jan 17, 2025
1 parent f9757ac commit 4531458
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/mcp-client/src/transport/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,19 @@ impl StdioTransport {
Error::StdioProcessError(format!("Failed to run hermit install: {}", e))
})?;

println!(
"HERMIT INSTALLATION OUTPUT: {:?}",
String::from_utf8_lossy(&output.stdout)
);

if !output.status.success() {
return Err(Error::StdioProcessError(
"Hermit installation failed".into(),
));
}

println!("HERMIT INSTALLATION SUCCESS");

// Now read the environment from the file we created
if let Ok(hermit_env) = std::fs::read_to_string("/tmp/hermit-env.txt") {
for line in hermit_env.lines() {
Expand Down

0 comments on commit 4531458

Please sign in to comment.