This commit is contained in:
2024-04-03 01:26:56 +02:00
parent bf7bd86934
commit 9a8568d692
9 changed files with 462 additions and 55 deletions

View File

@@ -23,7 +23,7 @@ pub fn save(config_path: PathBuf, config: Config) {
fs::create_dir_all(config_path.parent().unwrap()).unwrap();
save(config_path, config);
}
_ => println!("Could not save config file, got:\n{}\n", e),
_ => crate::println_error!("Error while saving config {}", e.to_string()),
},
}
}