Skip to content

Commit

Permalink
chore: add prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed Jun 28, 2024
1 parent 7e37754 commit e5b5b7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/relayer/src/utils/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,14 @@ pub async fn compute_psi_point(

let mut proc = tokio::process::Command::new("yarn")
.args(command_str.split_whitespace())
.stdout(std::process::Stdio::piped())
.stderr(std::process::Stdio::piped())
.spawn()?;

let output = proc.wait_with_output().await?;
println!("stdout: {}", String::from_utf8_lossy(&output.stdout));
println!("stderr: {}", String::from_utf8_lossy(&output.stderr));

let status = proc.wait().await?;
info!(LOG, "status: {:?}", status);
assert!(status.success());
Expand Down

0 comments on commit e5b5b7e

Please sign in to comment.