Add debug output for paths
This commit is contained in:
parent
94928c33ca
commit
73d3cf687c
1 changed files with 5 additions and 0 deletions
|
@ -71,6 +71,8 @@ impl<'a> Runtime<'a> {
|
||||||
let configpath = matches.value_of(Runtime::arg_config_name())
|
let configpath = matches.value_of(Runtime::arg_config_name())
|
||||||
.map_or_else(|| rtp.clone(), PathBuf::from);
|
.map_or_else(|| rtp.clone(), PathBuf::from);
|
||||||
|
|
||||||
|
debug!("Config path = {:?}", configpath);
|
||||||
|
|
||||||
let config = match Configuration::new(&configpath) {
|
let config = match Configuration::new(&configpath) {
|
||||||
Err(e) => if e.err_type() != ConfigErrorKind::NoConfigFileFound {
|
Err(e) => if e.err_type() != ConfigErrorKind::NoConfigFileFound {
|
||||||
return Err(RuntimeErrorKind::Instantiate.into_error_with_cause(Box::new(e)));
|
return Err(RuntimeErrorKind::Instantiate.into_error_with_cause(Box::new(e)));
|
||||||
|
@ -140,6 +142,9 @@ impl<'a> Runtime<'a> {
|
||||||
spath
|
spath
|
||||||
}, PathBuf::from);
|
}, PathBuf::from);
|
||||||
|
|
||||||
|
debug!("RTP path = {:?}", rtp);
|
||||||
|
debug!("Store path = {:?}", storepath);
|
||||||
|
|
||||||
let store_config = match config {
|
let store_config = match config {
|
||||||
Some(ref c) => c.store_config().cloned(),
|
Some(ref c) => c.store_config().cloned(),
|
||||||
None => None,
|
None => None,
|
||||||
|
|
Loading…
Reference in a new issue