From a0e411d2e9e0646475bb846b5f27af18d1d08f0b Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 14 Nov 2024 18:32:25 +0100 Subject: [PATCH] feat(main): debug print config directory --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ada0310..65b0977 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,7 +101,8 @@ async fn main() -> Result<()> { ProjectDirs::from("", "", "mostr") .map(|p| { 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() }) .unwrap_or_else(|| {