|
@ -127,6 +127,6 @@ pub fn load_config(path: &str) -> Result<Config, ConfigError> { |
|
|
Err(e) => Result::Err(ConfigError::new("Cannot Read Configuration File", Option::Some(Box::from(e))))
|
|
|
Err(e) => Result::Err(ConfigError::new("Cannot Read Configuration File", Option::Some(Box::from(e))))
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
Err(e) => Result::Err(ConfigError::new(&format!("Configuration File Doesn't Exist \"{}\"", path), Option::Some(Box::from(e))))
|
|
|
|
|
|
|
|
|
Err(e) => Result::Err(ConfigError::new(&format!("Configuration File Doesn't Exist \"{}\"", path), Option::None))
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|