summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Ignat <robert.ignat91@gmail.com>2017-06-25 16:58:25 +0200
committerMatthias Beyer <mail@beyermatthias.de>2017-07-13 18:24:20 +0200
commit73d3cf687c3dd3aa13bd6a327d39e973a75011df (patch)
treecb797af0b3fa9fad2c100261a7ab455052518e22
parent94928c33ca461e1e046e027070b79cc6023c49a6 (diff)
Add debug output for paths
-rw-r--r--libimagrt/src/runtime.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/libimagrt/src/runtime.rs b/libimagrt/src/runtime.rs
index 2e3f32d7..ceb386ba 100644
--- a/libimagrt/src/runtime.rs
+++ b/libimagrt/src/runtime.rs
@@ -71,6 +71,8 @@ impl<'a> Runtime<'a> {
let configpath = matches.value_of(Runtime::arg_config_name())
.map_or_else(|| rtp.clone(), PathBuf::from);
+ debug!("Config path = {:?}", configpath);
+
let config = match Configuration::new(&configpath) {
Err(e) => if e.err_type() != ConfigErrorKind::NoConfigFileFound {
return Err(RuntimeErrorKind::Instantiate.into_error_with_cause(Box::new(e)));
@@ -140,6 +142,9 @@ impl<'a> Runtime<'a> {
spath
}, PathBuf::from);
+ debug!("RTP path = {:?}", rtp);
+ debug!("Store path = {:?}", storepath);
+
let store_config = match config {
Some(ref c) => c.store_config().cloned(),
None => None,