diff --git a/src/main.rs b/src/main.rs index ef14d27..d481d4a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -272,7 +272,10 @@ fn main() -> Result<()> { .env("GIT_TERMINAL_PROMPT", "0") .output()?; if !out.status.success() { - println!("Couldn't clone {} repo status={}", repository, out.status); + println!( + "Couldn't clone {} repo for package {} v{} status={}", + repository, package.name, package.version, out.status + ); continue; } } @@ -382,8 +385,8 @@ fn main() -> Result<()> { .context("checkout the commit")?; if !out.status.success() { println!( - "Couldn't checkout the commit in {} repo status={}", - repository, out.status + "Couldn't checkout the commit in {} repo for package {} v{} status={}", + repository, package.name, package.version, out.status ); continue; } @@ -397,8 +400,8 @@ fn main() -> Result<()> { .context("init submodules")?; if !out.status.success() { println!( - "Couldn't init submodules in {} repo status={}", - repository, out.status + "Couldn't init submodules in {} repo for package {} v{} status={}", + repository, package.name, package.version, out.status ); continue; } @@ -412,8 +415,8 @@ fn main() -> Result<()> { .context("sync submodules")?; if !out.status.success() { println!( - "Couldn't sync submodules in {} repo status={}", - repository, out.status + "Couldn't sync submodules in {} repo for package {} v{} status={}", + repository, package.name, package.version, out.status ); continue; } @@ -427,8 +430,8 @@ fn main() -> Result<()> { .context("update submodules")?; if !out.status.success() { println!( - "Couldn't update submodules in {} repo status={}", - repository, out.status + "Couldn't update submodules in {} repo for package {} v{} status={}", + repository, package.name, package.version, out.status ); continue; }