Add debug strings for path detection
This commit is contained in:
@@ -56,8 +56,10 @@ where
|
|||||||
|
|
||||||
fn require(self) -> Result<Self, Error> {
|
fn require(self) -> Result<Self, Error> {
|
||||||
if self.as_ref().exists() {
|
if self.as_ref().exists() {
|
||||||
|
debug!("Path {:?} exists", self.as_ref());
|
||||||
Ok(self)
|
Ok(self)
|
||||||
} else {
|
} else {
|
||||||
|
debug!("Path {:?} doesn't exist", self.as_ref());
|
||||||
Err(ErrorKind::SkipStep.into())
|
Err(ErrorKind::SkipStep.into())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user