Add debug output to Store::load_in_cache()

This commit is contained in:
Matthias Beyer 2015-12-28 17:32:53 +01:00
parent 4ea83d538f
commit e9ea485ed5

View file

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