Skip to content

Commit

Permalink
fix: add logs for goose run
Browse files Browse the repository at this point in the history
  • Loading branch information
salman1993 committed Feb 5, 2025
1 parent ea42c86 commit 27ce15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/goose-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ async fn main() -> Result<()> {
}) => {
let mut session = build_session(name, resume, extension, builtin).await;
setup_logging(session.session_file().file_stem().and_then(|s| s.to_str()))?;

let _ = session.start().await;
return Ok(());
}
Expand Down Expand Up @@ -211,6 +210,7 @@ async fn main() -> Result<()> {
stdin
};
let mut session = build_session(name, resume, extension, builtin).await;
setup_logging(session.session_file().file_stem().and_then(|s| s.to_str()))?;
let _ = session.headless_start(contents.clone()).await;
return Ok(());
}
Expand Down

0 comments on commit 27ce15a

Please sign in to comment.