mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-01 00:50:57 +00:00
cli: do not stringify git2::Error too early
This commit is contained in:
parent
8588983593
commit
762b1c509a
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ pub fn map_git_error(err: git2::Error) -> CommandError {
|
|||
|
||||
user_error_with_hint(err, hint)
|
||||
} else {
|
||||
user_error(err.to_string())
|
||||
user_error(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue