We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e020577 commit 84d5b36Copy full SHA for 84d5b36
src/main.rs
@@ -40,6 +40,10 @@ fn load_config(config_file: &str) -> Option<Config> {
40
let config = Config::read(&config_file);
41
if let Err(error) = &config {
42
log::warn!("Failed to load config: {error}");
43
+ // TODO: keep reading if encounter "No such device (os error 19)"?
44
+ // this means file system not formatted.
45
+ // maybe if the user formatted and put a config file into the folder, we should
46
+ // make it connects to their wifi and API immediately?
47
}
48
let config = config.ok();
49
if let Some(config) = &config {
0 commit comments