Skip to content

Commit

Permalink
add more information around failed commands
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed May 6, 2024
1 parent a527249 commit c41945f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ fn check_for_shim() -> Result<(), Error> {
}

exec_shimmed_binary(&program_name, args_iter.collect())
.with_context(|| format!("failed to run {}", program_basename))
}

fn command_exec(program_name: OsString, args: Vec<OsString>) -> Result<(), Error> {
Expand Down

0 comments on commit c41945f

Please sign in to comment.