diff options
Diffstat (limited to 'server/src/git.rs')
| -rw-r--r-- | server/src/git.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/src/git.rs b/server/src/git.rs index b215750..ade66cb 100644 --- a/server/src/git.rs +++ b/server/src/git.rs @@ -393,8 +393,10 @@ impl RepoData { Ok(output_utf8) } else { Err(Error::new(format!( - "git command failed with exitcode: {}", - output.status + "git command failed with exitcode: {}\n{:?}\n{}", + output.status, + cmd.as_std().get_args(), + std::str::from_utf8(output.stderr.as_slice()).unwrap_or(""), ))) } } |
