forked from janek/mostr
feat(main): debug print config directory
This commit is contained in:
parent
ecc5b7686b
commit
a0e411d2e9
|
@ -101,7 +101,8 @@ async fn main() -> Result<()> {
|
||||||
ProjectDirs::from("", "", "mostr")
|
ProjectDirs::from("", "", "mostr")
|
||||||
.map(|p| {
|
.map(|p| {
|
||||||
let config = p.config_dir();
|
let config = p.config_dir();
|
||||||
or_warn!(fs::create_dir_all(config), "Could not create config directory");
|
debug!("Config Directory: {:?}", config);
|
||||||
|
or_warn!(fs::create_dir_all(config), "Could not create config directory '{:?}'", config);
|
||||||
config.to_path_buf()
|
config.to_path_buf()
|
||||||
})
|
})
|
||||||
.unwrap_or_else(|| {
|
.unwrap_or_else(|| {
|
||||||
|
|
Loading…
Reference in New Issue