mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-05 17:15:19 +03:00
add some additional context to the logs when this fails
This commit is contained in:
parent
5fbdd86e5b
commit
828bd31a4a
@ -199,7 +199,9 @@ fn sign_buffer(repo: &git2::Repository, buffer: &String) -> Result<String> {
|
||||
#[cfg(windows)]
|
||||
cmd.creation_flags(0x08000000); // CREATE_NO_WINDOW
|
||||
|
||||
let mut child = cmd.spawn()?;
|
||||
let mut child = cmd
|
||||
.spawn()
|
||||
.context(anyhow::format_err!("failed to spawn {:?}", cmd))?;
|
||||
child
|
||||
.stdin
|
||||
.take()
|
||||
|
Loading…
Reference in New Issue
Block a user