feat(main): debug print config directory
This commit is contained in:
		
					parent
					
						
							
								ecc5b7686b
							
						
					
				
			
			
				commit
				
					
						a0e411d2e9
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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(|| {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue