forked from the-distro/ofborg
improve repo clone error
This commit is contained in:
parent
38d2fe8672
commit
c56013fb54
|
@ -76,7 +76,7 @@ pub trait GitClonable {
|
|||
if result.success() {
|
||||
return Ok(());
|
||||
} else {
|
||||
return Err(Error::new(ErrorKind::Other, "Failed to clone"));
|
||||
return Err(Error::new(ErrorKind::Other, format!("Failed to clone from {:?} to {:?}", self.clone_from(), self.clone_to())));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue