Add debug output to StoreId::new_baseless()

This commit is contained in:
Matthias Beyer 2017-06-20 20:31:40 +02:00
parent 2c97d6f194
commit 54484a6ee7

View file

@ -67,6 +67,7 @@ impl StoreId {
} }
pub fn new_baseless(id: PathBuf) -> Result<StoreId> { pub fn new_baseless(id: PathBuf) -> Result<StoreId> {
debug!("Trying to get a new baseless id from: {:?}", id);
if id.is_absolute() { if id.is_absolute() {
Err(SEK::StoreIdLocalPartAbsoluteError.into_error()) Err(SEK::StoreIdLocalPartAbsoluteError.into_error())
} else { } else {