util: get_bool_cfg(): Output with warn!() instead of debug!()

This commit is contained in:
Matthias Beyer 2016-09-20 09:28:13 +02:00
parent b4fb226bb7
commit 52bb74da15
1 changed files with 2 additions and 2 deletions

View File

@ -159,13 +159,13 @@ fn get_bool_cfg(cfg: Option<&Value>, name: &str, on_fail: bool, on_unavail: bool
on_fail
},
None => {
debug!("No key '{}' - Assuming '{}'", name, on_unavail);
warn!("No key '{}' - Assuming '{}'", name, on_unavail);
on_unavail
},
}
})
.unwrap_or_else(|| {
debug!("No configuration to fetch {} from, assuming {}", name, on_unavail);
warn!("No configuration to fetch {} from, assuming {}", name, on_unavail);
on_unavail
})
}