Add more debugging/tracing output

This commit is contained in:
Matthias Beyer 2017-09-15 23:01:26 +02:00
parent 2c1d322a1c
commit 324110cb76

View file

@ -160,7 +160,9 @@ pub mod iter {
use super::is_external_link_storeid; use super::is_external_link_storeid;
while let Some(elem) = self.0.next() { while let Some(elem) = self.0.next() {
trace!("Check whether is external: {:?}", elem);
if !(self.1 ^ is_external_link_storeid(&elem)) { if !(self.1 ^ is_external_link_storeid(&elem)) {
trace!("Is external id: {:?}", elem);
return Some(elem); return Some(elem);
} }
} }
@ -270,6 +272,7 @@ pub mod iter {
debug!("Store::retrieve({:?}) succeeded", id); debug!("Store::retrieve({:?}) succeeded", id);
debug!("getting external link from file now"); debug!("getting external link from file now");
f.get_link_uri_from_filelockentry() f.get_link_uri_from_filelockentry()
.map_dbg_str("Error happened while getting link URI from FLE")
.map_dbg_err(|e| format!("URL -> Err = {:?}", e)) .map_dbg_err(|e| format!("URL -> Err = {:?}", e))
}) })
}); });