Add debug output to Store::load_in_cache()

This commit is contained in:
Matthias Beyer 2015-12-28 17:32:53 +01:00
parent 302549d194
commit c2469b83ce

View file

@ -48,6 +48,7 @@ impl Store {
{
let idstr : String = id.clone().into();
let path = format!("{}/{}-{}.imag", self.storepath, m.name(), idstr);
debug!("Loading path = '{}'", path);
let mut string = String::new();
FSFile::open(&path).map(|mut file| {