🐛 fix(client): fix config root parsing
- add debug logging for configurations to aid in troubleshooting
This commit is contained in:
committed by
Jeremiah Russell
parent
c2c1df2629
commit
a512792774
@@ -296,6 +296,7 @@ impl ClientConfig {
|
|||||||
/// # Ok::<(), Box<dyn std::error::Error>>(())
|
/// # Ok::<(), Box<dyn std::error::Error>>(())
|
||||||
/// ```
|
/// ```
|
||||||
pub fn new_from_configuration(configs: Config) -> Result<Self> {
|
pub fn new_from_configuration(configs: Config) -> Result<Self> {
|
||||||
|
log::debug!("Configurations: {configs:#?}");
|
||||||
let root = configs.get_string("config_root")?;
|
let root = configs.get_string("config_root")?;
|
||||||
let config_root = ConfigRoot::parse(&root);
|
let config_root = ConfigRoot::parse(&root);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user