diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-04-14 16:44:59 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-04-14 16:55:36 +0200 |
commit | 604f350340baa90f9b445f2cf63dd7aaedd38a36 (patch) | |
tree | 1e69d363e1c8aa0ee6cef90ede6b893141e0dcf2 /lib | |
parent | e23254674fcbf1761ca5945b33c5514e22006da0 (diff) |
Add logging in store
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core/libimagstore/src/storeid.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/core/libimagstore/src/storeid.rs b/lib/core/libimagstore/src/storeid.rs index 15348c04..b25f2441 100644 --- a/lib/core/libimagstore/src/storeid.rs +++ b/lib/core/libimagstore/src/storeid.rs @@ -74,8 +74,10 @@ impl StoreId { pub fn new_baseless(id: PathBuf) -> Result<StoreId> { debug!("Trying to get a new baseless id from: {:?}", id); if id.is_absolute() { + debug!("Error: Id is absolute!"); Err(SE::from_kind(SEK::StoreIdLocalPartAbsoluteError(id))) } else { + debug!("Building Storeid object baseless"); Ok(StoreId { base: None, id: id |