Add debug output to Store::load_in_cache()
This commit is contained in:
parent
4ea83d538f
commit
e9ea485ed5
1 changed files with 1 additions and 0 deletions
|
@ -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| {
|
||||||
|
|
Loading…
Reference in a new issue