forked from janek/mostr
1
0
Fork 0

feat(main): debug print config directory

This commit is contained in:
xeruf 2024-11-14 18:32:25 +01:00
parent ecc5b7686b
commit a0e411d2e9
1 changed files with 2 additions and 1 deletions

View File

@ -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(|| {